Add board support for hawkboard
authorSughosh Ganu <urwithsughosh@gmail.com>
Tue, 30 Nov 2010 16:25:01 +0000 (11:25 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 9 Dec 2010 09:24:11 +0000 (10:24 +0100)
commitdfddb5e6ba2144610e83c6b516b14e33f82b0604
tree5057509edaf2fde4356ee5f2ad7bc780edffc6d2
parent3258dcae816815c996ac4eb404c6d86be08d1c79
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