[U-Boot] [PATCH 1/2] PBL: add support for boot from SPI flash.

Zang Roy-R61911 r61911 at freescale.com
Fri Nov 12 12:12:39 CET 2010



> -----Original Message-----
> From: Gala Kumar-B11780
> Sent: Friday, November 12, 2010 17:50 PM
> To: Xie Shaohui-B21989
> Cc: u-boot at lists.denx.de; Zang Roy-R61911; Lan Chunhe-B25806; Hu
Mingkai-
> B21284
> Subject: Re: [PATCH 1/2] PBL: add support for boot from SPI flash.
> 
> 
> On Nov 12, 2010, at 12:36 AM, Shaohui Xie wrote:
> 
> > PBL: SPI flash used as RCW and PBI source, CPC1 used as 1M SRAM
> > where PBL will copy whole U-BOOT image to, U-boot can boot from CPC1
> > after PBL completes RCW and PBI phases.
> >
> > To produces the U-boot image which can used by PBL,
pbl_image_tool.html
> > is a necessary tool.
> 
> (drop this bit about pbl_image_tool.html, I assume this is the RCW
tool??)
> 
> >
> > Signed-off-by: Chunhe Lan <b25806 at freescale.com>
> > Signed-off-by: Mingkai Hu <Mingkai.hu at freescale.com>
> > Signed-off-by: Shaohui Xie <b21989 at freescale.com>
> > ---
> > arch/powerpc/cpu/mpc85xx/cpu_init.c  |   25
+++++++++++++++++++++++++
> > board/freescale/corenet_ds/config.mk |   6 ++++++++++
> > board/freescale/corenet_ds/tlb.c     |    9 +++++++++
> > boards.cfg                           |    1 +
> > include/configs/corenet_ds.h         |   31
+++++++++++++++++++++++++++++--
> > 5 files changed, 70 insertions(+), 2 deletions(-)
> 
> Let's use CONFIG_SPIFLASH like we do on all other boards instead of
> CONFIG_PBLSPI

This patch is for PBL boot and is not dedicated to SPI. SD/MMC boot can
also use it.
CONFIG_SPIFLASH can't reflect the boot information.
How about CONFIG_PBL_BOOT?
Thanks.
Roy



More information about the U-Boot mailing list