From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Fri, 21 Aug 2015 15:29:04 +0200 Subject: [U-Boot] [U-Boot, v2, 4/4] ARM: at91: sama5: update the spi flash mapping In-Reply-To: <1439982681-782-4-git-send-email-josh.wu@atmel.com> (from Josh Wu on Wed, 19 Aug 2015 19:11:21 +0800) References: <1439982681-782-4-git-send-email-josh.wu@atmel.com> Message-ID: <1440163744-20368-1-git-send-email-andreas.devel@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear "Wu, Josh", Josh Wu writes: >From: "Wu, Josh" > >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 >Reviewed-by: Jagan Teki >--- > >Changes in v2: >- collect the reviewed-by tag from Jagan Teki. > > include/configs/at91-sama5_common.h | 10 ++++++++++ > include/configs/sama5d3xek.h | 11 ++--------- > include/configs/sama5d4_xplained.h | 14 ++------------ > include/configs/sama5d4ek.h | 14 ++------------ > 4 files changed, 16 insertions(+), 33 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann