- 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>
-
- Apr 12, 2013
-
-
Benoît Thébaudeau authored
Let all ARM linker scripts handle properly -ffunction-sections and -fdata-sections. This will be useful for future changes in order to create symbol-specific sections in common .S files. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca724, but applied to all ARM start.S. This is a more appropriate symbol naming for an image copy & relocate feature, and this also saves a useless copy of data put between __image_copy_end and __bss_start in linker scripts (e.g. relocation information, or MMU initialization tables used only before jumping to the relocated image). Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- Mar 15, 2013
-
-
Simon Glass authored
Note this is a tree-wide change affecting multiple architectures. At present we use __bss_start, but mostly __bss_end__. This seems inconsistent and in a number of places __bss_end is used instead. Change to use __bss_end for the BSS end symbol throughout U-Boot. This makes it possible to use the asm-generic/sections.h file on all archs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Mar 12, 2013
-
-
Albert ARIBAUD authored
Many SPL linker scripts needlessly include linker lists (aka LGAs). Remove them whenever possible; keep it only in the seven am335x_evm variants (am335x_evm, am335x_evm_uart[1-5], am335x_evm_spiboot), where there is actual content in output section .u_boot_list. This commit keeps all u-boot.bin and u-boot-spl.bin in ARM targets byte-identical. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Oct 22, 2012
-
-
Marek Vasut authored
Add section for the linker-generated lists into all possible linker files, so that everyone can easily use these lists. This is mostly a mechanical adjustment. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org>
-
- Sep 27, 2012
-
-
Tom Rini authored
This file documents when to build for da850evm and when to build for da850_am18xxevm. It also documents how to write the u-boot.ais file to persistent storage (such as SPI), in some cases as well as how to write a recovery image. Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Christian Riesch <christian.riesch@omicron.at> Acked-by:
Prabhakar Lad <prabhakar.lad@ti.com>
-
- Sep 01, 2012
-
-
Sughosh Ganu authored
Also enable the ohci port on hawkboard. These additions result in an increased u-boot size -- adjust the same accordingly in the board's config. Move the usb header for da8xx platforms under arch-davinci. Signed-off-by:
Sughosh Ganu <urwithsughosh@gmail.com>
-
Lad, Prabhakar authored
Though Commit id a3f88293 (da850evm: setup the NAND flash timings) has configured the AEMIF timings, they are not exactly in sync with the timings used in Linux. Linux is configuring the timing register as 0x08222204, where as currently it configured to 0x00100084 in U-Boot. This issue was found out when support for NAND SPL is added in U-Boot. Without this patch U-Boot does not come up with SPL. Tested-by:
Christian Riesch <christian.riesch@omicron.at> Signed-off-by:
Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by:
Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by:
Hadli, Manjunath <manjunath.hadli@ti.com>
-
Rajashekhara, Sudhakar authored
AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for MMC and NOR to work on DA850/OMAP-L138 Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. When GP0[11] is high, SD0 will work but NOR flash will not. Tested-by:
Christian Riesch <christian.riesch@omicron.at> Signed-off-by:
Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by:
Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by:
Hadli, Manjunath <manjunath.hadli@ti.com>
-
Lad, Prabhakar authored
This patch adds support for MMC/SD on DA850/OMAP-L138. Tested-by:
Christian Riesch <christian.riesch@omicron.at> Signed-off-by:
Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by:
Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by:
Hadli, Manjunath <manjunath.hadli@ti.com>
-
Sughosh Ganu authored
Parameters used for configuring certain SoC peripherals are parsed from the cfg file and appended as part of the ais image's header. The u-boot-spl.ais generated is flashed separately to the nand, so do not delete the file after generation of u-boot.ais. Signed-off-by:
Sughosh Ganu <urwithsughosh@gmail.com>
-
- Jul 29, 2012
-
-
Wolfgang Denk authored
Also drop a few files referring to no longer / not yet supported boards. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Stefan Roese <sr@denx.de> Cc: Kim Phillips <kim.phillips@freescale.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Jason Jin <jason.jin@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Acked-by:
Stefano Babic <sbabic@denx.de> Acked-by:
Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
-
- Feb 27, 2012
-
-
Hadli, Manjunath authored
add support to read mac address for AM18x EVM manufactured from Spectrum digital which have mac address stored in I2C EEPROM manufactured by WINBOND. This patch reads mac address from I2C EEPROM and sets the environment variable if not set, If mac address is already present in environment compare it with the mac address in EEPROM and warn on mismatch.Introduced a config option CONFIG_MAC_ADDR_IN_EEPROM to where to look for the mac address. Signed-off-by:
Manjunath Hadli <manjunath.hadli@ti.com> Cc: Tom Rini <trini@ti.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Wolfgang Denk <wd@denx.de>
-
Hadli, Manjunath authored
add support to read mac address for da850/L138 evm manufactured by Logic PD which store mac address in SPI flash manufactured by ST Microelectronics. This patch adds support to read mac address from SPI flash and set the mac address if it hasn't been set in environment, If it has been set in the environment it compares the value one with SPI flash and warns on mismatch. Introduced a config option CONFIG_MAC_ADDR_IN_SPIFLASH indicating where to look mac address for. Signed-off-by:
Manjunath Hadli <manjunath.hadli@ti.com> Cc: Tom Rini <trini@ti.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Wolfgang Denk <wd@denx.de>
-
- Feb 12, 2012
-
-
Sughosh Ganu authored
This patch moves hawkboard to the new spl infrastructure from the older nand_spl one. Removed the hawkboard_nand_config build option -- The spl code now gets compiled with hawkboard_config, after building the main u-boot image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard to reflect the same. Signed-off-by:
Sughosh Ganu <urwithsughosh@gmail.com> Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Christian Riesch <christian.riesch@omicron.at> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Cc: Tom Rini <trini@ti.com> Acked-by:
Christian Riesch <christian.riesch@omicron.at>
-
- Dec 24, 2011
-
-
Christian Riesch authored
Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Heiko Schocher <hs@denx.de> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Tom Rini <trini@ti.com> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
-
- Dec 06, 2011
-
-
Manjunath Hadli authored
there are two boards based on da850 SOC - OMAP-L138 and AM18x. In order to differentiate between these two boards, revision id is passed to kernel via second byte of ATAG_REVISION. Signed-off-by:
Manjunathappa, Prakash <prakash.pm@ti.com> Signed-off-by:
Manjunath Hadli <manjunath.hadli@ti.com>
-
Christian Riesch authored
The boards in board/davinci/da8xxevm/ define pinmux_config[] vectors that contain pinmux configurations for emac, uarts, memory controllers... In an earlier patch such pinmux configurations were added to the arch tree. This patch makes the hawkboard use these definitions instead of defining its own. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Heiko Schocher <hs@denx.de> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by:
Heiko Schocher <hs@denx.de>
-
Christian Riesch authored
The boards in board/davinci/da8xxevm/ define pinmux_config[] vectors that contain pinmux configurations for emac, uarts, memory controllers... In an earlier patch such pinmux configurations were added to the arch tree. This patch makes the da850evm use these definitions instead of defining its own. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Heiko Schocher <hs@denx.de> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by:
Heiko Schocher <hs@denx.de>
-
Christian Riesch authored
Pinmux configuration for the EMAC was done in a separate call of davinci_configure_pin_mux(). This patch moves all the pinmux configuration that is done for this board to a common place. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Heiko Schocher <hs@denx.de> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Acked-by:
Heiko Schocher <hs@denx.de>
-
Christian Riesch authored
The configuration in struct pinmux_config i2c_pins does not configure the pins for i2c but for uart. Since this function is already configured by struct pinmux_config uart2_pins the i2c_pins struct is obsolete. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Heiko Schocher <hs@denx.de> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Sandeep Paulraj <s-paulraj@ti.com> Acked-by:
Heiko Schocher <hs@denx.de>
-
Christian Riesch authored
Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Heiko Schocher <hs@denx.de> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Nick Thompson <nick.thompson@ge.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Nick Thompson <nick.thompson@ge.com>
-
- Nov 29, 2011
-
-
Christian Riesch authored
This patch replaces the HAWKBOARD_KICK{0,1}_UNLOCK defines by DV_SYSCFG_KICK{0,1}_UNLOCK. The kick register values are not hawkboard specific but may be used for all davinci boards. In commit f3c149d6 new defines for these values wer introduced. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Sandeep Paulraj <s-paulraj@ti.com>
-
- Nov 27, 2011
-
-
Christian Riesch authored
This patch replaces the HAWKBOARD_KICK{0,1}_UNLOCK defines by DV_SYSCFG_KICK{0,1}_UNLOCK. The kick register values are not hawkboard specific but may be used for all davinci boards. In commit f3c149d6 new defines for these values wer introduced. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Sandeep Paulraj <s-paulraj@ti.com>
-
- Oct 27, 2011
-
-
Christian Riesch authored
Since commit f1d2b313 the serial port of the da850evm is accessed before the UART2 peripheral of the SoC is powered on in the function board_init() in board/davinci/da8xxevm/da850evm.c. When u-boot is used in conjunction with the UBL (user boot loader, see doc/README.davinci) on this board, the UART2 peripheral is already turned on by UBL at the time u-boot is started. Hence, the wrong initialization sequence is not noticed by most users. However, if UBL is not used, u-boot must power on the peripheral before using it. This patch adds a board_early_init_f() function for the LPSC configuration to the da850evm board configuration. Signed-off-by:
Christian Riesch <christian.riesch@omicron.at> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Heiko Schocher <hs@denx.de> Cc: Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Manjunath Hadli authored
Add support for enabling NAND boot mode in configuration file and add correspanding pinmux support, nand initialize function in board file. The size required for environment variables not more than 10KB the CONFIG_ENV_SIZE is set to 10KB from (512 << 10). Acked-by:
Nick Thompson <nick.thompson@ge.com> Signed-off-by:
Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by:
Manjunath Hadli <manjunath.hadli@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- Oct 15, 2011
-
-
Mike Frysinger authored
The top level Makefile does not do any recursion into subdirs when cleaning, so these clean/distclean targets in random arch/board dirs never get used. Punt them all. MAKEALL didn't report any errors related to this that I could see. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Sep 10, 2011
-
-
Wolfgang Denk authored
Fix build problem: nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f': nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot' nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Syed Mohammed Khasim <sm.khasim@gmail.com> Cc: Sughosh Ganu <urwithsughosh@gmail.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Sep 07, 2011
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
-
- Sep 04, 2011
-
-
Nagabhushana Netagunte authored
AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for NOR to work on Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. Signed-off-by:
Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by:
Nagabhushana Netagunte <nagabhushana.netagunte@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Nagabhushana Netagunte authored
add support for DSP wake-up by default on DA850/OMAP-L138 during board initialization. Enable hwconfig environment and added extra env setting through CONFIG_EXTRA_ENV_SETTINGS. To prevent DSP from being woken up,set the environment variable as, set hwconfig "dsp:wake=no" Signed-off-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Nagabhushana Netagunte <nagabhushana.netagunte@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
Nagabhushana Netagunte authored
Add pin-mux support for NOR in board file and correspanding macros to use NOR boot mode in configuration file. Signed-off-by:
Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by:
Nagabhushana Netagunte <nagabhushana.netagunte@ti.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- May 11, 2011
-
-
Ben Gardiner authored
The current NAND timings, introduced in commit a3f88293 da850evm: setup the NAND flash timings , incorrectly set WSTROBE and TA to 0. A more recent inspection of the values set by the Linux kernel indicates that these should be set to 1. Set the WSTROBE and TA field of the EMIFA cycle-count timings configuration to 1 to match the values set by linux. Signed-off-by:
Ben Gardiner <bengardiner@nanometrics.ca> CC: Stefano Babic <sbabic@denx.de> CC: Sandeep Paulraj <s-paulraj@ti.com> CC: Scott Wood <scottwood@freescale.com> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-
- Dec 09, 2010
-
-
Stefano Babic authored
As more Davinci 8xx board can be added, move common code to be shared between boards. * rebased ontop of Sugosh's patches * moving the HAWKBOARD_KICK{0,1}_UNLOCK defines to arch/arm/include/asm/arch-davinci/davinci_misc.h from to arch/arm/include/asm/arch-davinci/da8xx_common.h * don't define dram functions in PRELOADER * move sync_env_enetaddr into existing EMAC ifdef * use misc.c in hawkboard nand_spl Signed-off-by:
Ben Gardiner <bengardiner@nanometrics.ca> Signed-off-by:
Stefano Babic <sbabic@denx.de> Signed-off-by:
Sandeep Paulraj <s-paulraj@ti.com>
-