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 ...
arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo()Additionally the SDRAM address decoding register address is not hard codedin the C code any more. A define is introduced
arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo()Additionally the SDRAM address decoding register address is not hard codedin the C code any more. A define is introduced for this base address.This makes is possible to use those gpio functions from other MVEBU SoC'sas well.Signed-off-by: Stefan Roese <sr@denx.de>Tested-by: Luka Perkov <luka@openwrt.org>Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
arm: marvell: Extract kirkwood gpio functions into new common file gpio.cThis makes is possible to use those gpio functions from other MVEBU SoC's as well.Signed-off-by: Stefan Roese <sr@denx.de>
arm: marvell: Extract kirkwood gpio functions into new common file gpio.cThis makes is possible to use those gpio functions from other MVEBU SoC's as well.Signed-off-by: Stefan Roese <sr@denx.de>Tested-by: Luka Perkov <luka@openwrt.org>Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
arm: marvell: Move arch/kirkwood.h to arch/soc.hThis move makes is possible to use this header not only from kirkwoodplatforms but from all Marvell mvebu platforms.Signed-off-by: Stefan Roese <s
arm: marvell: Move arch/kirkwood.h to arch/soc.hThis move makes is possible to use this header not only from kirkwoodplatforms but from all Marvell mvebu platforms.Signed-off-by: Stefan Roese <sr@denx.de>Tested-by: Luka Perkov <luka@openwrt.org>Acked-by: Prafulla Wadaskar <prafulla@marvell.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>
kirkwood: kconfig: refactor Kconfig and defconfigBecuase the board select menu in arch/arm/Kconfig is too big,move the KirkWood board select menu to kirkwood/Kconfig.Consolidate also common sett
kirkwood: kconfig: refactor Kconfig and defconfigBecuase the board select menu in arch/arm/Kconfig is too big,move the KirkWood board select menu to kirkwood/Kconfig.Consolidate also common settings (CONFIG_SYS_CPU="arm926ejs" andCONFIG_SYS_SOC="kirkwood").Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Acked-by: Prafulla Wadasdkar <prafulla@marvell.com>Cc: Luka Perkov <luka@openwrt.org>
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>
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>
Fix references to the documentation filesMany boot image configuration files refer to theappropriate documentation file, but these referencescontain typos in the directory and file name. Fixthem
Fix references to the documentation filesMany boot image configuration files refer to theappropriate documentation file, but these referencescontain typos in the directory and file name. Fixthem. Also fix reference to doc/README.SPL file.Signed-off-by: Anatolij Gustschin <agust@denx.de>Cc: Prafulla Wadaskar <prafulla@marvell.com>Cc: Stefano Babic <sbabic@denx.de>Acked-by: Stefano Babic <sbabic@denx.de>
kirkwood: make MPP arrays static constThis saves stack and code memory for local copy, andconsumes initialized data memory. For 22 of the 29kirkwood-based boards, this results in a global saving
kirkwood: make MPP arrays static constThis saves stack and code memory for local copy, andconsumes initialized data memory. For 22 of the 29kirkwood-based boards, this results in a global savingof about 30 bytes. For 7 of them, it results in anincrease of 6 to 14 bytes.Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
kirkwood: fix calls to kirkwood_mpp_confWith the new second save argument introduced by the previous patch, allthe calls to the function had to be fixed.Signed-off-by: Valentin Longchamp <valent
kirkwood: fix calls to kirkwood_mpp_confWith the new second save argument introduced by the previous patch, allthe calls to the function had to be fixed.Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>cc: Holger Brunck <holger.brunck@keymile.com>cc: Prafulla Wadaskar <prafulla@marvell.com>
bootstage: Convert net progress numbers to enumsThis changes over the network-related progress numbers to use enumsfrom bootstage.h.Signed-off-by: Simon Glass <sjg@chromium.org>
bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()This changes the number 15 as used in boot_stage_progress() to use thenew name provided for it. This is a separate patch because i
bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()This changes the number 15 as used in boot_stage_progress() to use thenew name provided for it. This is a separate patch because it touchesso many files.Signed-off-by: Simon Glass <sjg@chromium.org>Acked-by: Mike Frysinger <vapier@gentoo.org>
ARM: DockStar: fix compilationFix build problem:mvgbe.c: In function 'mvgbe_initialize':mvgbe.c:735: warning: implicit declaration of function 'get_random_hex'dockstar.c: In function 'board_ear
ARM: DockStar: fix compilationFix build problem:mvgbe.c: In function 'mvgbe_initialize':mvgbe.c:735: warning: implicit declaration of function 'get_random_hex'dockstar.c: In function 'board_early_init_f':dockstar.c:43: warning: implicit declaration of function 'kw_config_gpio'dockstar.c: In function 'board_init':dockstar.c:113: warning: implicit declaration of function 'kw_sdram_bar'dockstar.c: In function 'set_leds':dockstar.c:161: warning: implicit declaration of function 'readl'dockstar.c:161: error: dereferencing pointer to incomplete typedockstar.c:162: warning: implicit declaration of function 'writel'dockstar.c:162: error: dereferencing pointer to incomplete typedockstar.c:163: error: dereferencing pointer to incomplete typedockstar.c:164: error: dereferencing pointer to incomplete typemake[1]: *** [dockstar.o] Error 1make: *** [board/Seagate/dockstar/libdockstar.o] Error 2Reported-by: Roland Kletzing <devzero@web.de>Signed-off-by: Anatolij Gustschin <agust@denx.de>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Cc: Prafulla Wadaskar <prafulla@marvell.com>
punt unused clean/distclean targetsThe top level Makefile does not do any recursion into subdirs whencleaning, so these clean/distclean targets in random arch/board dirsnever get used. Punt them
punt unused clean/distclean targetsThe top level Makefile does not do any recursion into subdirs whencleaning, so these clean/distclean targets in random arch/board dirsnever get used. Punt them all.MAKEALL didn't report any errors related to this that I could see.Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Seagate FreeAgent DockStar supportstart with sheevaplug configurationadd modifications by Alexander Holler <holler@ahsoftware.de> change RAM definitions to one bank (128 MB) change ident s
Seagate FreeAgent DockStar supportstart with sheevaplug configurationadd modifications by Alexander Holler <holler@ahsoftware.de> change RAM definitions to one bank (128 MB) change ident string and promptdefine MTD partitions and default environment variablesadd support for LEDsSigned-off-by: Eric Cooper <ecc@cmu.edu>