Add board support for hawkboard
authorSughosh Ganu <urwithsughosh@gmail.com>
Tue, 30 Nov 2010 16:25:01 +0000 (11:25 -0500)
committerSandeep Paulraj <s-paulraj@ti.com>
Tue, 30 Nov 2010 16:25:01 +0000 (11:25 -0500)
commit48571ff00526701c88cfcac1294adf20aeeade74
treeb1f782a821392d97a628e6afb87a5acb45c33f48
parent45b8679c81e1cb150f84e4d57a22428f49154f49
Add board support for hawkboard

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 <urwithsughosh@gmail.com>
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
15 files changed:
MAINTAINERS
arch/arm/include/asm/arch-davinci/da8xx_common.h
arch/arm/include/asm/arch-davinci/hardware.h
board/davinci/common/Makefile
board/davinci/common/davinci_pinmux.c [new file with mode: 0644]
board/davinci/common/misc.c
board/davinci/da8xxevm/Makefile
board/davinci/da8xxevm/hawkboard.c [new file with mode: 0644]
board/davinci/da8xxevm/hawkboard_nand_spl.c [new file with mode: 0644]
boards.cfg
doc/README.hawkboard [new file with mode: 0644]
include/configs/hawkboard.h [new file with mode: 0644]
nand_spl/board/davinci/da8xxevm/Makefile [new file with mode: 0644]
nand_spl/board/davinci/da8xxevm/u-boot.lds [new file with mode: 0644]
nand_spl/nand_boot.c