powerpc: spiflash:Add corenet devices support in eSPI SPL
authorPriyanka Jain <Priyanka.Jain@freescale.com>
Thu, 28 Nov 2013 04:38:12 +0000 (10:08 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 4 Dec 2013 22:54:34 +0000 (14:54 -0800)
commit7aa6c455c357f6d767acec747bbecb23664eeacb
treee2808835a3aabca97d6a3aff965ece9335648ae7
parent380b8f307c5291016e1249ccd263876f0e9c1278
powerpc: spiflash:Add corenet devices support in eSPI SPL

Existing eSPI SPL framework assumes booting from spi-image
with boot_format header which contains final u-boot Image
offset and size. No such header is present in case of
corenet devices like T1040 as corenet deivces use PBI-RCW
based intialization.

So, for corenet deives, SPL bootloader use values provided
at compilation time. These values can be defined in board
specific config file.

Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
drivers/mtd/spi/fsl_espi_spl.c