env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few place
env: Rename getenv/_f() to env_get()We are now using an env_ prefix for environment functions. Rename thesetwo functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking awarning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk <wd@denx.de>Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
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>
Remove various unused interrupt related codeWith d53ecad92f06 some unused interrupt related code was removed.However all of these options are currently unused. Rather than migratesome of these o
Remove various unused interrupt related codeWith d53ecad92f06 some unused interrupt related code was removed.However all of these options are currently unused. Rather than migratesome of these options to Kconfig we just remove the code in question.The only related code changes here are that in some cases we useCONFIG_STACKSIZE in non-IRQ related context. In these cases we renameand move the value local to the code in question.Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi")Signed-off-by: Tom Rini <trini@konsulko.com>
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace
treewide: replace #include <asm/errno.h> with <linux/errno.h>Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h havethe same content. (both just wrap <asm-generic/errno.h>)Replace all include directives for <asm/errno.h> with <linux/errno.h>.Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>[trini: Fixup include/clk.]Signed-off-by: Tom Rini <trini@konsulko.com>
Drop references to MAKEALL in the documentationIt is confusing to mention MAKEALL when it is not the normal way of buildingU-Boot anymore. Update the documentation to suit.Signed-off-by: Simon G
Drop references to MAKEALL in the documentationIt is confusing to mention MAKEALL when it is not the normal way of buildingU-Boot anymore. Update the documentation to suit.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Tom Rini <trini@konsulko.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>
davinci: kconfig: move board select menu and common settingsBecuase the board select menu in arch/arm/Kconfig is too big,move the Davinci board select menu to davinci/Kconfig.Move also common se
davinci: kconfig: move board select menu and common settingsBecuase the board select menu in arch/arm/Kconfig is too big,move the Davinci board select menu to davinci/Kconfig.Move also common settings (CONFIG_SYS_CPU="arm926ejs" andCONFIG_SYS_SOC="davinci").Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>Reviewed-by: Tom Rini <trini@ti.com>Cc: Heiko Schocher <hs@denx.de>Cc: Sandeep Paulraj <s-paulraj@ti.com>
arm: Add missing .vectors section to linker scriptsCommit 41623c9 'arm: move exception handling out of start.S files' missed somelinker scripts. Hence, some boards no longer had exception handling
arm: Add missing .vectors section to linker scriptsCommit 41623c9 'arm: move exception handling out of start.S files' missed somelinker scripts. Hence, some boards no longer had exception handling linked sincethis commit. Restore the original behavior by adding the .vectors section tothese linker scripts.Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
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>
mtd: nand: davinci: add header file for driver definitionsThe definitions inside emif_defs.h concern davinci nand driver andshould be in it's header. So create header file for davinci nanddriver
mtd: nand: davinci: add header file for driver definitionsThe definitions inside emif_defs.h concern davinci nand driver andshould be in it's header. So create header file for davinci nanddriver and move definitions from emif_defs.h and nand_defs.h to it.Acked-by: Vitaly Andrianov <vitalya@ti.com>Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>[trini: Fixup more davinci breakage]Signed-off-by: Tom Rini <trini@ti.com>
arm: make _end compiler-generatedThis prevents references to _end from generating absoluterelocation records.This change is binary invariant for ARM targets.Signed-off-by: Albert ARIBAUD <albe
arm: make _end compiler-generatedThis prevents references to _end from generating absoluterelocation records.This change is binary invariant for ARM targets.Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Merge branch 'iu-boot/master' into 'u-boot-arm/master'Conflicts: arch/arm/cpu/arm926ejs/mxs/Makefile board/compulab/cm_t35/Makefile board/corscience/tricorder/Makefile board/ppcag/bg0900/Makefi
Merge branch 'iu-boot/master' into 'u-boot-arm/master'Conflicts: arch/arm/cpu/arm926ejs/mxs/Makefile board/compulab/cm_t35/Makefile board/corscience/tricorder/Makefile board/ppcag/bg0900/Makefile drivers/bootcount/Makefile include/configs/omap4_common.h include/configs/pdnb3.hMakefile conflicts are due to additions/removals ofobject files on the ARM branch vs KBuild introductionon the main branch. Resolution consists in adjustingthe list of object files in the main branch version.This also applies to two files which are not listedas conflicting but had to be modified: board/compulab/common/Makefile board/udoo/Makefileinclude/configs/omap4_common.h conflicts are due tothe OMAP4 conversion to ti_armv7_common.h on the ARMside, and CONFIG_SYS_HZ removal on the main side.Resolution is to convert as this icludes removal ofCONFIG_SYS_HZ.include/configs/pdnb3.h is due to a removal on ARM side.Trivial resolution is to remove the file.Note: 'git show' will also list two files just becausethey are new: include/configs/am335x_igep0033.h include/configs/omap3_igep00x0.h
arm, da85x: update for the ipam390 board- switch to correct ecc layout used by the RBL enable CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC- update default environment- change A2CR to correct value f
arm, da85x: update for the ipam390 board- switch to correct ecc layout used by the RBL enable CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC- update default environment- change A2CR to correct value for UART boot mode- adapt cs3cfg timings for nand- change LED bootmode signalizationSigned-off-by: Heiko Schocher <hs@denx.de>Cc: Tom Rini <trini@ti.com>
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>
Coding Style cleanup: replace leading SPACEs by TABsSigned-off-by: Wolfgang Denk <wd@denx.de>[trini: Drop changes for PEP 4 following python tools]Signed-off-by: Tom Rini <trini@ti.com>
arm, da850: add ipam390 board supportadd the am1808 based ipam390 board from Barix.- 128MByte, DDR2, synchronous RAM 16bit databus to SDRAM interface- 128MByte, NAND Flash, 8bit databus to the
arm, da850: add ipam390 board supportadd the am1808 based ipam390 board from Barix.- 128MByte, DDR2, synchronous RAM 16bit databus to SDRAM interface- 128MByte, NAND Flash, 8bit databus to the NANDFlash Interface- Ethernet PHY Micrel KSZ8051R via RMII- Console on UART 0- booting fron nand flash- spl falcon bootmodeSigned-off-by: Heiko Schocher <hs@denx.de>Cc: Tom Rini <trini@ti.com>