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>
show more ...
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>
ARM: dreamplug: fix compilationFix build issues:mvrtc.c: In function 'rtc_get':mvrtc.c:45: warning: implicit declaration of function 'readl'mvrtc.c: In function 'rtc_set':mvrtc.c:100: warning:
ARM: dreamplug: fix compilationFix build issues:mvrtc.c: In function 'rtc_get':mvrtc.c:45: warning: implicit declaration of function 'readl'mvrtc.c: In function 'rtc_set':mvrtc.c:100: warning: implicit declaration of function 'writel'dreamplug.c: In function 'board_early_init_f':dreamplug.c:43: warning: implicit declaration of function 'kw_config_gpio'dreamplug.c: In function 'board_init':dreamplug.c:108: warning: implicit declaration of function 'kw_sdram_bar'drivers/rtc/librtc.o: In function `rtc_set':/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:92: undefined reference to `writel'/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:103: undefined reference to `writel'drivers/rtc/librtc.o: In function `rtc_reset':/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:117: undefined reference to `readl'/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:120: undefined reference to `readl'drivers/rtc/librtc.o: In function `rtc_get':/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:45: undefined reference to `readl'/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:48: undefined reference to `readl'...Signed-off-by: Anatolij Gustschin <agust@denx.de>Cc: Jason Cooper <u-boot@lakedaemon.net>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>Acked-by: Marek Vasut <marek.vasut@gmail.com>
dreamplug: initial board support.Copied wholeheartedly from board/Marvell/guruplug and modified to add supportfor SPI NOR flash.CONFIG_MACH_DREAMPLUG defined in include/configs/dreamplug.h until
dreamplug: initial board support.Copied wholeheartedly from board/Marvell/guruplug and modified to add supportfor SPI NOR flash.CONFIG_MACH_DREAMPLUG defined in include/configs/dreamplug.h until Linus'skernel.org tree adds it to mach-types.h. Once it trickles down, the definitioncan be removed from include/configs/dreamplug.h.Signed-off-by: Jason Cooper <u-boot@lakedaemon.net>