summaryrefslogtreecommitdiff
path: root/nand_spl/board/davinci
AgeCommit message (Collapse)Author
2012-02-12Changes to move hawkboard to the new spl infrastructureSughosh Ganu
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 <[email protected]> Signed-off-by: Heiko Schocher <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Christian Riesch <[email protected]> Cc: Sudhakar Rajashekhara <[email protected]> Cc: Tom Rini <[email protected]> Acked-by: Christian Riesch <[email protected]>
2011-12-06davinci: Remove unwanted memsize.c from hawkboard's nand spl buildSughosh Ganu
dram_init function in board/davinci/common/misc.c does not get compiled for spl builds, thus rendering inclusion of memsize.c useless. Signed-off-by: Sughosh Ganu <[email protected]>
2011-12-06arm, davinci: move misc function in arch treeHeiko Schocher
move the board/davinci/common/misc.c file to arch/arm/cpu/arm926ejs/davinci/misc.c, so all davinci boards can use this functions. Signed-off-by: Heiko Schocher <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Tom Rini <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Christian Riesch <[email protected]>
2011-12-06arm, hawkboard: Use the pinmux configurations defined in the arch treeChristian Riesch
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 <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Syed Mohammed Khasim <[email protected]> Cc: Sughosh Ganu <[email protected]> Cc: Mike Frysinger <[email protected]> Acked-by: Heiko Schocher <[email protected]>
2011-12-06arm, davinci: Move pinmux functions from board to arch treeChristian Riesch
Signed-off-by: Christian Riesch <[email protected]> Cc: Sandeep Paulraj <[email protected]> Cc: Heiko Schocher <[email protected]> Cc: Sudhakar Rajashekhara <[email protected]> Cc: Syed Mohammed Khasim <[email protected]> Cc: Sughosh Ganu <[email protected]> Cc: Nick Thompson <[email protected]> Cc: Stefano Babic <[email protected]> Acked-by: Heiko Schocher <[email protected]> Acked-by: Nick Thompson <[email protected]>
2011-09-10ARM: hawkboard_nand: fix compilation of nand_splStefano Babic
get_ram_size() is called, but memsize.c is not compiled. Signed-off-by: Stefano Babic <[email protected]>
2011-07-26replace CONFIG_PRELOADER with CONFIG_SPL_BUILDAneesh V
replace all occurences of CONFIG_PRELOADER with CONFIG_SPL_BUILD Signed-off-by: Aneesh V <[email protected]>
2011-04-27Fix the issue of _end symbol not being found while buildingSughosh Ganu
Fix the nand_spl build for the hawkboard Signed-off-by: Sughosh Ganu <[email protected]>
2011-03-31Fix build issues cause by LDFLAGS_FINAL changesWolfgang Denk
Commit 6dc1ece "Introduce a new linker flag LDFLAGS_FINAL" modified a number of Makefiles in a way that broke out-of-tree builds. The problem was that $(nandobj) was used before it got defined. Fix this. Signed-off-by: Wolfgang Denk <[email protected]> Signed-off-by: Scott Wood <[email protected]>
2011-03-27rename _end to __bss_end__Po-Yu Chuang
Currently, _end is used for end of BSS section. We want _end to mean end of u-boot image, so we rename _end to __bss_end__ first. Signed-off-by: Po-Yu Chuang <[email protected]>
2011-03-22Introduce a new linker flag LDFLAGS_FINALHaiying Wang
commit 8aba9dceebb14144e07d19593111ee3a999c37fc Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS breaks the usage of --gc-section to build nand_spl. We still need linker option --gc-section for every uboot image, not only the main one. LDFLAGS_FINAL passes the --gc-sections to each uboot image. To get the proper linker flags, we use LDFLAGS and LDFLAGS_FINAL to replace PLATFORM_LDFLAGS in the Makefile of each nand_spl board. Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Haiying Wang <[email protected]>
2010-11-30Davinci 8xx: Move common functions to share codeStefano Babic
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 <[email protected]> Signed-off-by: Stefano Babic <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2010-11-30Add board support for hawkboardSughosh Ganu
The patch adds basic board support for TI's OMAP-L138 based Hawkboard. This board is pretty similar to the da850 EVM. Support for nand and network access is added in this version. The following bootup procedure is used. At reset, the Rom Boot Loader(RBL), initialises the ddr and the nand controllers and copies the second stage bootloader(nand_spl) to RAM. The secondary bootloader then copies u-boot from a predefined location in the nand flash to the RAM, and passes control to the u-boot image. Three config options are supported * hawkboard_config - Used to create the u-boot.bin. Tftp the u-boot.bin image to the RAM from u-boot, and flash to the nand flash at address 0xe0000. * hawkboard_nand_config - Used to generate the secondary bootloader(nand_spl) image. This creates an elf file u-boot-spl under nand_spl/. Create an AIS signed image using this file, and flash it to the nand flash at address 0x20000. The ais file should fit in one block. * hawkboard_uart_config - This is same as the first image, but with the TEXT_BASE as expected by the RBL(0xc1080000). Create the AIS Signed-off-by: Sughosh Ganu <[email protected]> Signed-off-by: Ben Gardiner <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>