mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 00:50:43 +09:00
pico-imx7d: Add support for secure boot
Add a new defconfig to enable secure boot on pico-imx7d. Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
This commit is contained in:
parent
c5ad50303c
commit
57ea8c60e4
@ -4,3 +4,4 @@ S: Maintained
|
|||||||
F: board/technexion/pico-imx7d/
|
F: board/technexion/pico-imx7d/
|
||||||
F: include/configs/pico-imx7d.h
|
F: include/configs/pico-imx7d.h
|
||||||
F: configs/pico-imx7d_defconfig
|
F: configs/pico-imx7d_defconfig
|
||||||
|
F: configs/pico-imx7d_secure_defconfig
|
||||||
|
@ -278,7 +278,14 @@ int board_late_init(void)
|
|||||||
|
|
||||||
int checkboard(void)
|
int checkboard(void)
|
||||||
{
|
{
|
||||||
puts("Board: i.MX7D PICOSOM\n");
|
char *mode;
|
||||||
|
|
||||||
|
if (IS_ENABLED(CONFIG_ARMV7_BOOT_SEC_DEFAULT))
|
||||||
|
mode = "secure";
|
||||||
|
else
|
||||||
|
mode = "non-secure";
|
||||||
|
|
||||||
|
printf("Board: i.MX7D PICOSOM in %s mode\n", mode);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
35
configs/pico-imx7d_secure_defconfig
Normal file
35
configs/pico-imx7d_secure_defconfig
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
CONFIG_ARM=y
|
||||||
|
CONFIG_ARCH_MX7=y
|
||||||
|
CONFIG_TARGET_PICO_IMX7D=y
|
||||||
|
CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
|
||||||
|
CONFIG_IMX_RDC=y
|
||||||
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/technexion/pico-imx7d/imximage.cfg"
|
||||||
|
CONFIG_HUSH_PARSER=y
|
||||||
|
CONFIG_CMD_BOOTZ=y
|
||||||
|
# CONFIG_CMD_BOOTD is not set
|
||||||
|
# CONFIG_CMD_IMI is not set
|
||||||
|
# CONFIG_CMD_IMLS is not set
|
||||||
|
# CONFIG_CMD_XIMG is not set
|
||||||
|
# CONFIG_CMD_SETEXPR is not set
|
||||||
|
CONFIG_CMD_MMC=y
|
||||||
|
CONFIG_CMD_PART=y
|
||||||
|
CONFIG_CMD_I2C=y
|
||||||
|
CONFIG_CMD_GPIO=y
|
||||||
|
CONFIG_CMD_CACHE=y
|
||||||
|
CONFIG_CMD_EXT2=y
|
||||||
|
CONFIG_CMD_EXT4=y
|
||||||
|
CONFIG_CMD_EXT4_WRITE=y
|
||||||
|
CONFIG_CMD_FAT=y
|
||||||
|
CONFIG_CMD_USB=y
|
||||||
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
||||||
|
CONFIG_USB=y
|
||||||
|
CONFIG_USB_EHCI_HCD=y
|
||||||
|
CONFIG_MXC_USB_OTG_HACTIVE=y
|
||||||
|
CONFIG_USB_STORAGE=y
|
||||||
|
CONFIG_USB_GADGET=y
|
||||||
|
CONFIG_CI_UDC=y
|
||||||
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
||||||
|
CONFIG_G_DNL_MANUFACTURER="FSL"
|
||||||
|
CONFIG_G_DNL_VENDOR_NUM=0x0525
|
||||||
|
CONFIG_G_DNL_PRODUCT_NUM=0xa4a5
|
||||||
|
CONFIG_OF_LIBFDT=y
|
Loading…
Reference in New Issue
Block a user