env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd
env: Rename setenv() to env_set()We are now using an env_ prefix for environment functions. Rename setenv()for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
sh: add common dram_init() function for all boardsGeneric board support assumes a different method of specifyingDRAM size on board, also it can be shared among all boards, notablyonly sh7763rdp b
sh: add common dram_init() function for all boardsGeneric board support assumes a different method of specifyingDRAM size on board, also it can be shared among all boards, notablyonly sh7763rdp board has a custom legacy dram_init(), howeverthe difference is only in printing some additional information,this feature can be removed.Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>Reviewed-by: Simon Glass <sjg@chromium.org>
sh4: use single u-boot linker script for all boardsThree supported SH4/SH4A boards with the bootloader image stored onSPI flash have own flavour of a linker script, in turn they are equalamong ea
sh4: use single u-boot linker script for all boardsThree supported SH4/SH4A boards with the bootloader image stored onSPI flash have own flavour of a linker script, in turn they are equalamong each other. The only difference is that the text fromlowlevel_init.o is placed right after start.o, which makes sense.Note that .bss section is not marked as NOLOAD, because for about10 years this is a default option of a GNU linker, either theattribute is found or not the resulting image file is the same.Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>Reviewed-by: Simon Glass <sjg@chromium.org>
sh: Fix build errors for generic boardThis includes the following fixes:- Define needed __init_end symbol - see initr_reloc_global_data()- Drop SH-specific struct bd_info- Add an empty relocate_
sh: Fix build errors for generic boardThis includes the following fixes:- Define needed __init_end symbol - see initr_reloc_global_data()- Drop SH-specific struct bd_info- Add an empty relocate_code() functionThis prevents build errors with generic board, but the code will still needwork. Perhaps this is a better alternative than deleting the code.Signed-off-by: Simon Glass <sjg@chromium.org>
sh: sh7753evb: Fix build errorCurrently buildman fails to build sh7753evb and reports the following: board/renesas/sh7753evb/built-in.o: In function 'init_gether_mdio': board/renesas/sh7753evb
sh: sh7753evb: Fix build errorCurrently buildman fails to build sh7753evb and reports the following: board/renesas/sh7753evb/built-in.o: In function 'init_gether_mdio': board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'PMB_ADDR_BASE' board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'PMB_DATA_BASE' board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'mk_pmb_addr_val' board/renesas/sh7753evb/sh7753evb.c:94: undefined reference to 'mk_pmb_data_val' make: *** [u-boot] Error 1The fix is to wrap any codes that access these macros with CONFIG_SH_32BIT.Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
remove unnecessary version.h includesVarious files are needlessly rebuilt every time due to the version andbuild time changing. As version.h is not actually needed, remove theinclude.Signed-off
remove unnecessary version.h includesVarious files are needlessly rebuilt every time due to the version andbuild time changing. As version.h is not actually needed, remove theinclude.Signed-off-by: Rob Herring <robh@kernel.org>Cc: Albert Aribaud <albert.u.boot@aribaud.net>Cc: Stefano Babic <sbabic@denx.de>Cc: Minkyu Kang <mk7.kang@samsung.com>Cc: Marek Vasut <marex@denx.de>Cc: Tom Warren <twarren@nvidia.com>Cc: Michal Simek <monstr@monstr.eu>Cc: Macpaul Lin <macpaul@andestech.com>Cc: Wolfgang Denk <wd@denx.de>Cc: York Sun <yorksun@freescale.com>Cc: Stefan Roese <sr@denx.de>Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>Cc: Simon Glass <sjg@chromium.org>Cc: Philippe Reynes <tremyfr@yahoo.fr>Cc: Eric Jarrige <eric.jarrige@armadeus.org>Cc: "David Müller" <d.mueller@elsoft.ch>Cc: Phil Edworthy <phil.edworthy@renesas.com>Cc: Robert Baldyga <r.baldyga@samsung.com>Cc: Torsten Koschorrek <koschorrek@synertronixx.de>Cc: Anatolij Gustschin <agust@denx.de>Reviewed-by: Linus Walleij <linus.walleij@linaro.org>Reviewed-by: Łukasz Majewski <l.majewski@samsung.com>
sh: consolidate CONFIG_SYS_CPU definesNow each board selects one of CONFIG_CPU_SH2, CONFIG_CPU_SH3,CONFIG_CPU_SH4, so let's move CONFIG_SYS_CPU definition toarch/sh/Kconfig.Signed-off-by: Masah
sh: consolidate CONFIG_SYS_CPU definesNow each board selects one of CONFIG_CPU_SH2, CONFIG_CPU_SH3,CONFIG_CPU_SH4, so let's move CONFIG_SYS_CPU definition toarch/sh/Kconfig.Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
sf: Tidy up public and private header filesSince spi_flash.h is supposed to be the public API for SPI flash, moveprivate things to sf_internal.h. Also tidy up a few comment nits.Signed-off-by: S
sf: Tidy up public and private header filesSince spi_flash.h is supposed to be the public API for SPI flash, moveprivate things to sf_internal.h. Also tidy up a few comment nits.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
MAINTAINERS: comment out blank M: fieldSince commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4(patman: RunPipe() should not pipe stdout/stderr unless asked),Patman spits lots of "Invalid MAINTAINER
MAINTAINERS: comment out blank M: fieldSince commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4(patman: RunPipe() should not pipe stdout/stderr unless asked),Patman spits lots of "Invalid MAINTAINERS address: '-'"error messages for patches with global changes.It takes too long for Patman to process them.Anyway, "M: -" does not carry any important information.Rather, it is just like a place holder in case of assigninga new board maintainer. Let's comment out.This commit can be reproduced by the following command:find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'Signed-off-by: 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>
sh: add support for sh7753evb boardThe SH7753 EVB board has SH7753, 512MB DDR3-SDRAM, SPI ROM,Gigabit Ethernet, and eMMC.This patch support the following functions: - 512MB DDR3-SDRAM, SCIF4, S
sh: add support for sh7753evb boardThe SH7753 EVB board has SH7753, 512MB DDR3-SDRAM, SPI ROM,Gigabit Ethernet, and eMMC.This patch support the following functions: - 512MB DDR3-SDRAM, SCIF4, SPI ROM, Gigabit Ethernet, eMMCSigned-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>