uboot/board/freescale
Sumit Garg aa36c84edf powerpc/mpc85xx: T104x: Add nand secure boot target
For mpc85xx SoCs, the core begins execution from address 0xFFFFFFFC.
In non-secure boot scenario from NAND, this address will map to CPC
configured as SRAM. But in case of secure boot, this default address
always maps to IBR (Internal Boot ROM).
The IBR code requires that the bootloader(U-boot) must lie in 0 to 3.5G
address space i.e. 0x0 - 0xDFFFFFFF.

For secure boot target from NAND, the text base for SPL is kept same as
non-secure boot target i.e. 0xFFFx_xxxx but the SPL U-boot binary will
be copied to CPC configured as SRAM with address in 0-3.5G(0xBFFC_0000)
As a the virtual and physical address of CPC would be different. The
virtual address 0xFFFx_xxxx needs to be mapped to physical address
0xBFFx_xxxx.

Create a new PBI file to configure CPC as SRAM with address 0xBFFC0000
and update DCFG SCRTACH1 register with location of Header required for
secure boot.

The changes are similar to
commit 467a40dfe3
    powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041

While P3041 has a 1MB CPC and does not require SPL. On T104x, CPC
is only 256K and thus SPL framework is used.
The changes are only applicable for SPL U-Boot running out of CPC SRAM
and not the next level U-Boot loaded on DDR.

Reviewed-by: Ruchika Gupta <ruchika.gupta@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
2016-07-21 11:09:34 -07:00
..
b4860qds freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
bsc9131rdb freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
bsc9132qds freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
c29xpcie freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
common powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL 2016-07-21 11:09:23 -07:00
corenet_ds
ls1012afrdm armv8: ls1012a: Add support of ls1012afrdm board 2016-06-03 14:12:51 -07:00
ls1012aqds armv8: ls1012a: Add support of ls1012aqds board 2016-06-03 14:12:51 -07:00
ls1012ardb armv8: ls1012a: Add support of ls1012ardb board 2016-06-03 14:12:51 -07:00
ls1021aqds board/freescale: Update ddr clk_adjust 2016-06-03 14:06:57 -07:00
ls1021atwr
ls1043aqds armv8: Move secure_ram variable out of generic global data 2016-07-15 09:01:43 -07:00
ls1043ardb ARMv8/ls1043ardb: Integrate FSL PPA 2016-07-19 11:34:26 -07:00
ls2080a armv8: Move secure_ram variable out of generic global data 2016-07-15 09:01:43 -07:00
ls2080aqds armv8: Move secure_ram variable out of generic global data 2016-07-15 09:01:43 -07:00
ls2080ardb armv8: Move secure_ram variable out of generic global data 2016-07-15 09:01:43 -07:00
m547xevb
m548xevb
m5208evbe
m5235evb
m5249evb
m5253demo
m5253evbe
m5272c3
m5275evb
m5282evb
m5329evb mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
m5373evb mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
m52277evb
m53017evb
m54418twr
m54451evb
m54455evb
mpc832xemds
mpc837xemds
mpc837xerdb
mpc5121ads Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
mpc8308rdb
mpc8313erdb
mpc8315erdb
mpc8323erdb
mpc8349emds
mpc8349itx
mpc8536ds
mpc8540ads
mpc8541cds
mpc8544ds
mpc8548cds
mpc8555cds
mpc8560ads
mpc8568mds
mpc8569mds
mpc8572ds
mpc8610hpcd
mpc8641hpcn
mx6qarm2 mx6qarm2: imximage_mx6dl.cfg update to fix tINIT3 violation 2016-04-03 19:18:20 +02:00
mx6qsabreauto imx: mx6qsabreauto: drop duplicated net phy configuration 2016-05-31 17:36:47 +02:00
mx6sabresd mx6sabresd: Allow LVDS backlight to be functional after a kernel reboot 2016-06-18 10:25:54 +02:00
mx6slevk cosmetic: mx6slevk: Minor coding-style fix 2016-05-31 17:37:44 +02:00
mx6sxsabreauto
mx6sxsabresd
mx6ul_14x14_evk imx: mx6ulevk: change QSPI PAD DSE to 120ohm 2016-06-18 10:29:18 +02:00
mx7dsabresd mx7dsabresd: Fix LCD_PWR_EN output setting 2016-06-18 10:29:18 +02:00
mx23evk
mx25pdk
mx28evk Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
mx31ads
mx31pdk
mx35pdk
mx51evk
mx53ard
mx53evk
mx53loco
mx53smd
p1_p2_rdb_pc freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
p1_twr
p1010rdb freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
p1022ds freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
p1023rdb
p2041rdb freescale: Tweak various Makefiles to remove redundancy, fix aesthetics 2016-06-03 22:14:27 -07:00
qemu-ppce500
s32v234evb armv8: s32v234: Introduce basic support for s32v234evb 2016-06-13 08:56:35 -04:00
t4qds Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2016-06-04 12:12:26 -04:00
t4rdb Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2016-06-04 12:12:26 -04:00
t102xqds Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2016-06-04 12:12:26 -04:00
t102xrdb Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2016-06-04 12:12:26 -04:00
t104xrdb powerpc/mpc85xx: T104x: Add nand secure boot target 2016-07-21 11:09:34 -07:00
t208xqds Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2016-06-04 12:12:26 -04:00
t208xrdb Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx 2016-06-04 12:12:26 -04:00
t1040qds board/freescale: Update ddr clk_adjust 2016-06-03 14:06:57 -07:00
vf610twr