]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: at91: sama5: update the spi flash mapping
authorWu, Josh <Josh.wu@atmel.com>
Wed, 19 Aug 2015 11:11:21 +0000 (19:11 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:30:33 +0000 (10:30 +0200)
commit28a05a91b1eeb1999aa8c4219e048b9bd13e0db3
treecefbf9f58d8a9bf7f263da31567f4512b6ea27b5
parent6e3a51072093ae7dfb06bc877570bd950a19dcf6
ARM: at91: sama5: update the spi flash mapping

Also move the spi flash configurations to the at91-sama5_common.h.

Current at91 zImage size is about 3.3M, the old mapping is not
suitable. So update the spi flash map as following:
0x0      ~ 0x004000: at91bootstrap(16k)
0x04000  ~ 0x008000: u-boot env(16k)
0x08000  ~ 0x060000: u-boot(352k)
0x60000  ~ 0x06c000: dtb (48k)
0x6c000  ~ 0x400000: kernel (3M+592k)

In AT91Bootstrap, the U-Boot in spi flash also update to 0x8000, refer
to following commit in AT91Bootstrap:
3e91e54 Kconfig: fix spi flash address

So also update SPL's u-boot load address to 0x8000 in spi flash.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
include/configs/at91-sama5_common.h
include/configs/sama5d3xek.h
include/configs/sama5d4_xplained.h
include/configs/sama5d4ek.h