arm: Add explicit include of <asm/mach-types.h>Rather than relying on common.h to provide this include, which is goingaway at some point, include it explicitly in each file.Signed-off-by: Simon
arm: Add explicit include of <asm/mach-types.h>Rather than relying on common.h to provide this include, which is goingaway at some point, include it explicitly in each file.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
dm: Use dm.h header when driver mode is usedThis header includes things that are needed to make driver build. Adjustexisting users to include that always, even if other dm/ includes arepresentS
dm: Use dm.h header when driver mode is usedThis header includes things that are needed to make driver build. Adjustexisting users to include that always, even if other dm/ includes arepresentSigned-off-by: Simon Glass <sjg@chromium.org>
toradex: allow custom fdt board setup in board fileThe config block support currently uses the ft_board_setup functionto patch the device tree with config block information. However, thisdoes not
toradex: allow custom fdt board setup in board fileThe config block support currently uses the ft_board_setup functionto patch the device tree with config block information. However, thisdoes not allow to patch the device tree with board specific information.Rename the common setup function to ft_common_board_setup and use thecall it from the board files directly.Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block handlingWith our common code in place actually make use of it across all ourmodules.Signed-off-by: Marcel Ziswiler <marcel.ziswiler@
apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block handlingWith our common code in place actually make use of it across all ourmodules.Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
colibri_pxa270: transition to driver model for serialAdd serial platform data to board file.Enable driver model for PXA serial driver.Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
pxa: fix wrong comment about vpac270 being the arch numberSigned-off-by: Marcel Ziswiler <marcel@ziswiler.com>
kconfig: arm: introduce symbol for ARM CPUsThis commit introduces a Kconfig symbol for each ARM CPU:CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,CPU_ARM1176, CPU_V7, CPU_PXA
kconfig: arm: introduce symbol for ARM CPUsThis commit introduces a Kconfig symbol for each ARM CPU:CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selectedfor CPU_ARM1176 and CPU_V7.For each target, the corresponding CPU is selected and the definition ofSYS_CPU in the corresponding Kconfig file is removed.Also, it removes redundant "string" type in some Kconfig files.Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>Acked-by: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in
kconfig: remove redundant "string" type in arch and board KconfigsNow the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}are specified in arch/Kconfig.We can delete the ones in arch and board Kconfig files.This commit can be easily reproduced by the following command:find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '/config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ { N s/\n[[:space:]]*string//}'Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Add board MAINTAINERS filesWe have switched to Kconfig and the boards.cfg file is going tobe removed. We have to retrieve the board status and maintainersinformation from it.The MAINTAINERS for
Add board MAINTAINERS filesWe have switched to Kconfig and the boards.cfg file is going tobe removed. We have to retrieve the board status and maintainersinformation from it.The MAINTAINERS format as in Linux Kernel would be nicebecause we can crib the scripts/get_maintainer.pl script.After some discussion, we chose to put a MAINTAINERS file under eachboard directory, not the top-level one because we want to collectrelevant information for a board into a single place.TODO:Modify get_maintainer.pl to scan multiple MAINTAINERS files.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Suggested-by: Tom Rini <trini@ti.com>Acked-by: Simon Glass <sjg@chromium.org>
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
kconfig: add board Kconfig and defconfig filesThis commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board(This commit was automatically generated by a conversion scriptbased on boards.cfg)In Linux Kernel, defconfig files are located underarch/${ARCH}/configs/ directory.It works in Linux Kernel since ARCH is always given from thecommand line for cross compile.But in U-Boot, ARCH is not given from the command line.Which means we cannot know ARCH until the board configuration is done.That is why all the "*_defconfig" files should be gathered into asingle directory ./configs/.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Simon Glass <sjg@chromium.org>
board: arm: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Andreas Bießmann <andreas.devel@googlemail
board: arm: convert makefiles to Kbuild styleSigned-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Andreas Bießmann <andreas.devel@googlemail.com>Cc: Stefano Babic <sbabic@denx.de>Cc: Prafulla Wadaskar <prafulla@marvell.com>Cc: Minkyu Kang <mk7.kang@samsung.com>Cc: Vipin Kumar <vipin.kumar@st.com>Cc: Tom Warren <twarren@nvidia.com>Cc: Tom Rini <trini@ti.com>
usb: rename board_usb_init_type to usb_init_typeThis will be used by usb_lowlevel_init so it willno longer be used by only board specific functions.Move definition of enum usb_init_type higher i
usb: rename board_usb_init_type to usb_init_typeThis will be used by usb_lowlevel_init so it willno longer be used by only board specific functions.Move definition of enum usb_init_type higher in fileso that it will be available for usb_low_level_init.Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
usb: new board-specific USB init interfaceThis commit unifies board-specific USB initialization implementationsunder one symbol (usb_board_init), declaration of which is available inusb.h.New A
usb: new board-specific USB init interfaceThis commit unifies board-specific USB initialization implementationsunder one symbol (usb_board_init), declaration of which is available inusb.h.New API allows selective initialization of USB controllers whenever needed.Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>Cc: Marek Vasut <marex@denx.de>Cc: Lukasz Majewski <l.majewski@samsung.com>
Add GPL-2.0+ SPDX-License-Identifier to source filesSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Fixup common/cmd_io.c]Signed-off-by: Tom Rini <trini@ti.com>
serial: pxa: Make use of default_serial_console in serial_pxaMake use of the newly implemented weak default_serial_console inthe serial_pxa driver. This removes all reimplementations of thisfunct
serial: pxa: Make use of default_serial_console in serial_pxaMake use of the newly implemented weak default_serial_console inthe serial_pxa driver. This removes all reimplementations of thisfunction from board files.Signed-off-by: Marek Vasut <marex@denx.de>Cc: Marek Vasut <marek.vasut@gmail.com>Cc: Tom Rini <trini@ti.com>
PXA: Move colibri_pxa270 to board/toradex/Signed-off-by: Marek Vasut <marek.vasut@gmail.com>