SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
board_f: Rename initdram() to dram_init()This allows us to use the same DRAM init function on all archs. Add adummy function for arc, which does not use DRAM init here.Signed-off-by: Simon Glass
board_f: Rename initdram() to dram_init()This allows us to use the same DRAM init function on all archs. Add adummy function for arc, which does not use DRAM init here.Signed-off-by: Simon Glass <sjg@chromium.org>[trini: Dummy function on nios2]Signed-off-by: Tom Rini <trini@konsulko.com>
board_f: Drop return value from initdram()At present we cannot use this function as an init sequence call without awrapper, since it returns the RAM size. Adjust it to set the RAM size inglobal_d
board_f: Drop return value from initdram()At present we cannot use this function as an init sequence call without awrapper, since it returns the RAM size. Adjust it to set the RAM size inglobal_data instead, and return 0 on success.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Stefan Roese <sr@denx.de>
board_f: Drop board_type parameter from initdram()It looks like only cm5200 and tqm8xx use this feature, so we don't reallyneed it in generic code. Drop it and have the users access gd->board_type
board_f: Drop board_type parameter from initdram()It looks like only cm5200 and tqm8xx use this feature, so we don't reallyneed it in generic code. Drop it and have the users access gd->board_typedirectly.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Stefan Roese <sr@denx.de>
Fix spelling of "occur".Signed-off-by: Vagrant Cascadian <vagrant@debian.org>Acked-by: Angelo Dureghello <angelo@sysam.it>Reviewed-by: Simon Glass <sjg@chromium.org>
board: amcore: update to use dm serial driverUpdate amcore board to use dm serial driver.Signed-off-by: Angelo Dureghello <angelo@sysam.it>---Changes for v2:- None
m68k: move CONFIG_SYS_TEXT_BASE to defconfig filesFor historical reason, CONFIG_SYS_TEXT_BASE has been specifiedin various ways:[1] by board/${VENDOR}/${BOARD}/config.mk[2] by CONFIG_SYS_EXTRA
m68k: move CONFIG_SYS_TEXT_BASE to defconfig filesFor historical reason, CONFIG_SYS_TEXT_BASE has been specifiedin various ways:[1] by board/${VENDOR}/${BOARD}/config.mk[2] by CONFIG_SYS_EXTRA_OPTIONS (This was "options" field of boards.cfg before Kconfig conversion)[3] by include/configs/${BOARD}.h[4] by configs/${BOARD}_defconfigMost of M68K boards use either [1] or [2], both of which we want todeprecate. Switch them into [4], which is the newest way (Kconfig).We still allow [3] too, because it is still used by many boards andwe expect much time for conversion.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>Acked-by: Angelo Dureghello <angelo at sysam.it>Reviewed-by: Simon Glass <sjg@chromium.org>
m68k: add architecture-specific u-boot.ldsAdd architecture-specific u-boot.lds and remove all board-specificu-boot.lds.All the .text customization that was board-specific have beenmoved inside
m68k: add architecture-specific u-boot.ldsAdd architecture-specific u-boot.lds and remove all board-specificu-boot.lds.All the .text customization that was board-specific have beenmoved inside the related include/configs, inside aLDS_BOARD_TEXT define.Signed-off-by: Angelo Dureghello <angelo@sysam.it>
m68k: add amcore board supportAdd Sysam Amcore m68k-based board support.Signed-off-by: Angelo Dureghello <angelo@sysam.it>