- Sep 13, 2017
-
-
Adam Ford authored
There was a check for CONFIG_MAC_ADDR_IN_EEPROM and a check for CONFIG_MAC_ADDR_IN_SPIFLASH, however some of the EEPROM related code wasn't encapsulated inside the #if defined statement so the EEPROM code could get executed even when it wasn't explicitly enabled or wanted. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
- Sep 12, 2017
-
-
Adam Ford authored
Like the OMAP-L138 LCDK before it, let's move the da850-evm and the variations to TI_COMMON_CMD_OPTIONS to cut back one some of the defconfig entries. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
- Aug 16, 2017
-
-
Simon Glass authored
Rename this function for consistency with env_get(). Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We are now using an env_ prefix for environment functions. Rename these two functions for consistency. Also add function comments in common.h. Quite a few places use getenv() in a condition context, provoking a warning 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>
-
Simon Glass authored
Rename this function for consistency with env_set(). Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
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>
-
- Jun 05, 2017
-
-
Simon Glass authored
Rather than relying on common.h to provide this include, which is going away at some point, include it explicitly in each file. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- May 12, 2017
-
-
Sekhar Nori authored
OMAP-L138 LCDK board can benefit from using the commonly used commands enabled by TI_COMMON_CMD_OPTIONS. Source the relevant Kconfig file so TI_COMMON_CMD_OPTIONS can be enabled for OMAP-L138 LCDK board in a future patch. Signed-off-by:
Sekhar Nori <nsekhar@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Apr 07, 2017
-
-
Tom Rini authored
With d53ecad9 some unused interrupt related code was removed. However all of these options are currently unused. Rather than migrate some of these options to Kconfig we just remove the code in question. The only related code changes here are that in some cases we use CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename and move the value local to the code in question. Fixes: d53ecad9 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi" ) Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Mar 20, 2017
-
-
ahaslam@baylibre.com authored
Add instructions to write an AIS image to NAND by using the u-boot nand tools. Signed-off-by:
Axel Haslam <ahaslam@baylibre.com>
-
- Feb 17, 2017
-
-
ahaslam@baylibre.com authored
The da850 soc's can boot from a external mmc card, but the AIS image should be written to the correct sector. Add instructions to copy the AIS image to a MMC card. Signed-off-by:
Axel Haslam <ahaslam@baylibre.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Jan 28, 2017
-
-
Tom Rini authored
This reverts commit 70b26cd0. This is not a strict revert as it is easier to fix board/atmark-techno/armadillo-800eva/armadillo-800eva.c to now the correct name (same value) than to revert that change too. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jan 14, 2017
-
-
Tom Rini authored
Before we can sync with the latest mach-types.h file from the Linux Kernel we need to remove some instances of MACH_TYPE_xxx from our sources. As these values have been removed from the canonical upstream source we should not be using them either, so drop. Cc: Tom Warren <twarren@nvidia.com> Cc: Lucas Stach <dev@lynxeye.de> Cc: Luka Perkov <luka@openwrt.org> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Heiko Schocher <hs@denx.de> Cc: Thomas Weber <weber@corscience.de> Cc: Lucile Quirion <lucile.quirion@savoirfairelinux.com> Cc: Matthias Weisser <weisserm@arcor.de> Cc: Suriyan Ramasami <suriyan.r@gmail.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Cc: Bo Shen <voice.shen@atmel.com> Cc: Nick Thompson <nick.thompson@gefanuc.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Erik van Luijk <evanluijk@interact.nl> Cc: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Jan 11, 2017
-
-
Masahiro Yamada authored
Move (and rename) the following CONFIG options to Kconfig: CONFIG_DAVINCI_MMC (renamed to CONFIG_MMC_DAVINCI) CONFIG_OMAP_HSMMC (renamed to CONFIG_MMC_OMAP_HS) CONFIG_MXC_MMC (renamed to CONFIG_MMC_MXC) CONFIG_MXS_MMC (renamed to CONFIG_MMC_MXS) CONFIG_TEGRA_MMC (renamed to CONFIG_MMC_SDHCI_TEGRA) CONFIG_SUNXI_MMC (renamed to CONFIG_MMC_SUNXI) They are the same option names as used in Linux. This commit was created as follows: [1] Rename the options with the following command: find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \ -type f -print | xargs sed -i -e ' s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g ' [2] Commit the changes [3] Create entries in driver/mmc/Kconfig. (copied from Linux) [4] Move the options with the following command tools/moveconfig.py -y -r HEAD \ MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI [5] Sort and align drivers/mmc/Makefile for readability Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Marek Vasut <marex@denx.de>
-
- Dec 04, 2016
-
-
Andre Przywara authored
Apparently the indentation is wrong in this case, as the second message should be printed indepdently of the if statement. Fix this indentation to avoid both compiler warnings and puzzled readers. Pointed out by GCC 6.2's -Wmisleading-indentation warning. Signed-off-by:
Andre Przywara <andre.przywara@arm.com>
-
- Dec 03, 2016
-
-
Fabien Parent authored
NAND SPL boot was missing. Add it. The README specific to omapl138-lcdk is also removed because its content does not apply anymore, i.e. the generated AIS image can be flashed directly to the NAND without using any external tool to create and bootable AIS image. Signed-off-by:
Fabien Parent <fparent@baylibre.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Fabien Parent authored
The list of available boot method is not part of the binary which prevent the SPL from booting u-boot or Linux. Add the missing .u_boot_list* sections to the binary to fix it. Signed-off-by:
Fabien Parent <fparent@baylibre.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Nov 13, 2016
-
-
Fabien Parent authored
If the MAC address specified on the EEPROM is invalid (multicast or zero address), then u-boot fails to boot. Having a bad MAC address in the EEPROM should not prevent the system from booting. This commit changes the error path to just print an error messages in case of bad MAC address. Signed-off-by:
Fabien Parent <fparent@baylibre.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
- Sep 23, 2016
-
-
Masahiro Yamada authored
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the 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>
-
- Jan 19, 2016
-
-
Tom Rini authored
In a number of places we had wordings of the GPL (or LGPL in a few cases) license text that were split in such a way that it wasn't caught previously. Convert all of these to the correct SPDX-License-Identifier tag. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Sep 28, 2015
-
-
Simon Glass authored
This board has not been converted to generic board by the deadline. Remove it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Apr 23, 2015
-
-
Peter Howard authored
Signed-off-by:
Peter Howard <phoward@gme.net.au> [trini: Add config file, update for ..._ether_addr() -> ..._ethaddr() rename] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- Apr 18, 2015
-
-
Joe Hershberger authored
Use "_ethaddr" at the end of variables and drop CamelCase. Make constant values actually 'const'. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
- Feb 24, 2015
-
-
Masahiro Yamada authored
This is still a non-generic board. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Sughosh Ganu <urwithsughosh@gmail.com> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Acked-by:
Marek Vasut <marex@denx.de>
-
- Nov 23, 2014
-
-
Masahiro Yamada authored
Some CPUs of some architectures have SOC directories. At present, the build system directly descends into SOC directories from the top Makefile, but it should generally descend into each directory from its parent directory. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Sep 13, 2014
-
-
Masahiro Yamada authored
Now 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>
-
- Aug 31, 2014
-
-
Masahiro Yamada authored
Becuase 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" and CONFIG_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>
-
- Aug 30, 2014
-
-
Benoît Thébaudeau authored
Commit 41623c91 'arm: move exception handling out of start.S files' missed some linker scripts. Hence, some boards no longer had exception handling linked since this commit. Restore the original behavior by adding the .vectors section to these linker scripts. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Jul 30, 2014
-
-
Masahiro Yamada authored
We have switched to Kconfig and the boards.cfg file is going to be removed. We have to retrieve the board status and maintainers information from it. The MAINTAINERS format as in Linux Kernel would be nice because we can crib the scripts/get_maintainer.pl script. After some discussion, we chose to put a MAINTAINERS file under each board directory, not the top-level one because we want to collect relevant 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>
-
Masahiro Yamada authored
This 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 script based on boards.cfg) In Linux Kernel, defconfig files are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel since ARCH is always given from the command 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 a single directory ./configs/. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
- Jun 19, 2014
-
-
Khoronzhuk, Ivan authored
The definitions inside emif_defs.h concern davinci nand driver and should be in it's header. So create header file for davinci nand driver 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>
-
- Feb 26, 2014
-
-
Albert ARIBAUD authored
This prevents references to _end from generating absolute relocation records. This change is binary invariant for ARM targets. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Nov 17, 2013
-
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Nov 01, 2013
-
-
Masahiro Yamada authored
Signed-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>
-
- Jul 26, 2013
-
-
Christian Riesch authored
The current code uses clrbits_be32 which is incorrect since we are on a little endian machine here. This patch fixes this issue and also removes some unnecessary code: Reading the current GPIO bank state is not required if we are using the SET and CLEAR GPIO registers for setting/clearing bits. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com> Cc: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Jun 21, 2013
-
-
Albert ARIBAUD authored
Discard all .dynsym sections from linker scripts Remove all __dynsym_start definitions from linker scripts Remove all __dynsym_start references from the codebase Note: this touches include/asm-generic/sections.h, which is not ARM-specific, but actual uses of __dynsym_start are only in ARM, so this patch can safely go through the ARM repository. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Tested-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- Jun 10, 2013
-
-
Vishwanathrao Badarkhe, Manish authored
Move pinmux configurations for the DA830 SoCs from board file to the arch tree so that it can be used for all da830 based devices. Also, avoids duplicate pinmuxing in case of NAND. Signed-off-by:
Vishwanathrao Badarkhe, Manish <manishv.b@ti.com> Reviewed-by:
Tom Rini <trini@ti.com> Acked-by:
Christian Riesch <christian.riesch@omicron.at>
-
Vishwanathrao Badarkhe, Manish authored
Add MMC support for da830 boards in order to perform mmc operations(read,write and erase). Signed-off-by:
Vishwanathrao Badarkhe, Manish <manishv.b@ti.com>
-
- Apr 14, 2013
-
-
Albert ARIBAUD authored
This target wants to check full SPL size, BSS included. Remove CONFIG_SPL_MAX_SIZE definition and instead define CONFIG_SPL_MAX_FOOTPRINT. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-