mx7dsabresd: Fix the boot of a NXP kernel
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 10 Jun 2016 12:46:13 +0000 (09:46 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Jul 2016 15:58:49 +0000 (17:58 +0200)
commit618a85356cebe18c8933147fe913a5fe17260332
tree9848bcffac4c435a1b580de1f9056c88afda47ca
parent303977430983f163c30a8937de737d1d6abe78ba
mx7dsabresd: Fix the boot of a NXP kernel

Booting a NXP kernel with mainline U-boot leads to the following kernel
crash:

caam: probe of 30900000.caam failed with error -11
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = 80004000
[00000004] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP ARM

This happens because NXP kernel expects MX7 to boot in secure mode,
so introduce mx7dsabresd_secure_defconfig that selects CONFIG_MX7_SEC
and allows booting a NXP provided kernel successfully.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
configs/mx7dsabresd_secure_defconfig [new file with mode: 0644]