rv1126-uboot/board
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
..
8dtech/eco5pk
AndesTech/adp-ag101p
Arcturus/ucp1020
Barix/ipam390
BuR board/BuR: rename kwb board to brxre1 2016-06-24 17:24:40 -04:00
BuS/eb_cpu5282
CarMediaLab/flea3
LaCie
Marvell MARVELL: Delete now-superfluous board/Marvell/{common, include} dirs. 2016-05-27 15:39:55 -04:00
Seagate
Synology/ds414 mvebu: ds414: Move cmd_syno into ds414 directory 2016-03-16 15:27:54 -04:00
a3m071 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
a4m072 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
abilis/tb100
advantech x86: Add Advantech SOM-DB5800/SOM-6867 support 2016-07-12 13:46:01 +08:00
alphaproject/ap_sh4a_4a
altera arm: socfpga: Update iomux and pll for c5 socdk RevE 2016-05-10 23:32:42 +02:00
amazon/kc1 kc1: Proper reboot mode and boot reason validation 2016-04-01 17:18:06 -04:00
amcc Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
amlogic/odroid-c2 board: amlogic: Rename folder for Amlogic boards 2016-06-24 17:23:09 -04:00
aristainetos
armadeus/apf27
armltd armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
astro/mcf5373l
atmark-techno/armadillo-800eva
atmel nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
avionic-design ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
bachmann/ot1200
barco
bct-brettl2
bf506f-ezkit
bf518f-ezbrd
bf525-ucr2
bf526-ezbrd
bf527-ad7160-eval
bf527-ezkit
bf527-sdp
bf533-ezkit Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
bf533-stamp
bf537-minotaur
bf537-pnav
bf537-srv1
bf537-stamp
bf538f-ezkit
bf548-ezkit
bf561-acvilon
bf561-ezkit
bf609-ezkit
birdland/bav335x
blackstamp
blackvme
bluegiga/apx4devkit
bluewater arm: at91: Add support for gurnard 2016-06-12 23:49:38 +02:00
bosch/shc am335x, shc: add support for the am335x based bosch shc board 2016-06-09 13:53:10 -04:00
boundary/nitrogen6x usb: Rename ehci-fsl.h to ehci-ci.h 2016-04-01 17:18:10 -04:00
br4
broadcom maintainers: new email address 2016-06-27 21:12:05 -04:00
buffalo/lsxl
calao/usb_a9263
canmb
cavium/thunderx armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
ccv/xpress xpress: Update <usb/ehci-fsl.h> include 2016-04-13 15:45:50 -04:00
cirrus/edb93xx
cloudengines/pogo_e02
cm-bf527
cm-bf533
cm-bf537e
cm-bf537u
cm-bf548
cm-bf561
cm5200 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
cobra5272
compal/paz00
compulab compulab: add support for layout aware eeprom commands 2016-05-20 17:02:07 -04:00
congatec x86: conga-qeval20-qa3: Add support for internal UART 2016-07-12 13:46:01 +08:00
coreboot x86: Drop all the old pin configuration code 2016-03-17 10:27:25 +08:00
corscience/tricorder
creative/xfi3
d-link/dns325
davedenx/aria Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
davinci
dbau1x00 Orphan dbau1x00 boards 2016-06-17 09:51:01 -04:00
denx usb: Rename ehci-fsl.h to ehci-ci.h 2016-04-01 17:18:10 -04:00
dnp5370
ebv/socrates
efi x86: Drop all the old pin configuration code 2016-03-17 10:27:25 +08:00
egnite/ethernut5
embest/mx6boards
emulation
esd mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
espt
evb_rk3036/evb_rk3036 rockchip: Add MAINTAINER files for kylin_rk3036, evb_rk3036 2016-07-11 14:06:44 -06:00
firefly/firefly-rk3288
freescale powerpc/mpc85xx: T104x: Add nand secure boot target 2016-07-21 11:09:34 -07:00
gaisler
gateworks/gw_ventana Merge branch 'master' of git://git.denx.de/u-boot 2016-06-18 10:25:13 +02:00
gdsys strider: Support con-dp flavor 2016-06-06 13:39:13 -04:00
ge/bx50v3 board: ge: bx50v3: don't configure the backlight when there's no display 2016-06-07 18:13:05 +02:00
google x86: Add support for the samus chromebook 2016-03-17 10:27:27 +08:00
gumstix omap-common: Rename set_muxconf_regs_essential to set_muxconf_regs 2016-03-15 15:12:06 -04:00
h2200
highbank
hisilicon/hikey armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
htkw/mcx
ibf-dsp561
ids/ids8313
ifm Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
imgtec/malta malta: Allow MIPS64 builds 2016-05-31 09:38:11 +02:00
imx31_phycore
in-circuit/grasshopper Change my mailaddress 2016-05-02 18:37:09 -04:00
inka4x0
intel x86: galileo: Enable ACPI table generation 2016-05-30 10:21:12 +08:00
intercontrol/digsy_mtc Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
inversepath/usbarmory
iomega/iconnect
ip04
ipek01 Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
is1 ARM: socfpga: add support for IS1 board 2016-06-08 02:56:30 +02:00
isee ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
jupiter Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
keymile Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
kmc/kzm9g
kosagi/novena
kylin/kylin_rk3036 rockchip: Add MAINTAINER files for kylin_rk3036, evb_rk3036 2016-07-11 14:06:44 -06:00
l+g/vinco
lego/ev3
lg/sniper sniper: Change vendor name from lge to lg, matching devicetree vendor prefix 2016-04-01 17:18:06 -04:00
liebherr/lwmon5
logicpd ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
maxbcm
microchip/pic32mzda clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
micronas/vct MIPS: Split I & D cache line size config 2016-05-31 09:44:24 +02:00
mini-box/picosam9g45
mosaixtech/icon
motionpro Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
mpc8308_p1m
mpl dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI 2016-05-17 09:54:43 -06:00
mpr2
ms7720se
ms7722se
ms7750se
munices Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
nokia/rx51
nvidia ARM: tegra: add p2771-0000 board support 2016-05-31 11:22:59 -07:00
olimex/mx23_olinuxino
omicron/calimain
openrisc/openrisc-generic
overo ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
pandora
pb1x00 MIPS: Split I & D cache line size config 2016-05-31 09:44:24 +02:00
pdm360ng Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
phytec Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP 2016-05-27 15:41:16 -04:00
ppcag/bg0900
pr1
qca mips: ath79: ap143: Reset ethernet on boot 2016-05-31 10:17:54 +02:00
qemu-mips MIPS: Split I & D cache line size config 2016-05-31 09:44:24 +02:00
qualcomm/dragonboard410c board: Add Qualcomm Dragonboard 410C support 2016-04-01 17:18:27 -04:00
quipos/cairo ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
radxa/rock2
raidsonic/ib62x0
raspberrypi/rpi armv8: mmu: Add support of non-identical mapping 2016-07-15 09:01:43 -07:00
renesas sh: Fix build errors for generic board 2016-05-27 15:39:51 -04:00
ronetix nand: Embed mtd_info in struct nand_chip 2016-06-03 20:27:48 -05:00
samsung exynos: video: Drop old unused code 2016-05-25 13:25:19 +09:00
samtec/vining_fpga arm: socfpga: Add samtec VIN|ING board 2016-06-01 22:44:14 +02:00
sandbox sandbox: Add a new sandbox_spl board 2016-07-14 20:40:24 -06:00
sandisk/sansa_fuze_plus
sbc8349
sbc8548
sbc8641d
schulercontrol/sc_sps_1
seco
shmin
siemens arm: at91: taurus/axm: add DM and DTS support 2016-06-26 20:17:22 +02:00
silica/pengwyn
socrates mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
solidrun usb: Rename ehci-fsl.h to ehci-ci.h 2016-04-01 17:18:10 -04:00
spear arm: spear: x600: Add support for Micrel KSZ9031 PHY 2016-05-31 07:48:34 +02:00
sr1500
st stm32: Change USART port to USART6 for stm32f746 discovery board 2016-07-14 18:22:44 -04:00
sunxi sunxi: Add defconfig and dts file for the Orange Pi Lite SBC 2016-07-15 15:54:56 +02:00
synopsys board: axs10x: Flush entire cache after programming reset vector 2016-06-13 14:38:05 +02:00
sysam/amcore
syteco/zmx25
t3corp
tbs/tbs2910
tcl/sl50
tcm-bf518
tcm-bf537
technexion Add initial support for Technexion's PICO-IMX6UL-EMMC board 2016-04-19 16:37:36 +02:00
technologic/ts4800
teejet/mt_ventoux
terasic arm: socfpga: sockit: Use more relaxed DRAM timings 2016-04-10 17:19:48 +02:00
theadorable arm: mvebu: theadorable: Remove Board name output in checkboard 2016-04-12 11:13:40 +02:00
ti arm: am4x: add U-Boot FIT signing and SPL image post-processing 2016-07-14 18:22:23 -04:00
timll ARM: Various: Future-proof serial platdata 2016-03-14 19:18:48 -04:00
toradex ARM: tegra: use DT bindings for GPIO naming 2016-05-31 09:53:56 -07:00
tplink/wdr4300 MIPS: Split I & D cache line size config 2016-05-31 09:44:24 +02:00
tqc Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
udoo
v38b
varisys
ve8313
vscom/baltos
wandboard
warp
warp7 warp7: Add README file 2016-06-18 10:36:00 +02:00
woodburn
work-microwave/work_92105 hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER 2016-06-24 17:24:34 -04:00
xes mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
xilinx ARM64: zynqmp: Add support for standard distro boot commands 2016-06-06 11:23:28 +02:00
zipitz2 zipitz2: enable caches 2016-03-27 09:13:01 -04:00
zyxel/nsa310s