Commit 503f7c89 authored by Haoran.Wang's avatar Haoran.Wang Committed by Jason Liu

MA-9478-3 [iot] Enable Trusty for pico-imx6ul

Duplicate defconfig for pico-imx6ul
by picosom-imx6ul-trusty_defconfig.

Change-Id: I559124e8e94eb40f943e0c4d68b9a6da821c6f41
Signed-off-by: default avatarHaoran.Wang <elven.wang@nxp.com>
(cherry picked from commit f019c752e4ac1ab210b9a09a00d48a6eaf3fefb3)
parent 8dc75ab5
......@@ -117,7 +117,11 @@ struct i2c_pads_info i2c_pad_info1 = {
int dram_init(void)
{
#ifdef CONFIG_IMX_TRUSTY_OS
gd->ram_size = PHYS_SDRAM_SIZE - TRUSTY_OS_RAM_SIZE;
#else
gd->ram_size = PHYS_SDRAM_SIZE;
#endif
return 0;
}
......
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/picosom-imx6ul/imximage.cfg,ANDROID_THINGS_SUPPORT,IMX_TRUSTY_OS,ARMV7_NONSEC"
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_PICOSOM_IMX6UL=y
CONFIG_SYS_MALLOC_F=y
CONFIG_SYS_MALLOC_F_LEN=0x400
CONFIG_BOOTDELAY=3
CONFIG_EFI_PARTITION=y
CONFIG_BOARD_EARLY_INIT_F=y
CONFIG_HUSH_PARSER=y
CONFIG_CMD_BOOTZ=y
# CONFIG_CMD_IMLS is not set
CONFIG_CMD_MEMTEST=y
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_MMC=y
CONFIG_CMD_USB=y
CONFIG_CMD_DFU=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_DHCP=y
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_DFU_MMC=y
CONFIG_USB=y
CONFIG_USB_STORAGE=y
CONFIG_OF_LIBFDT=y
CONFIG_DM=y
CONFIG_DM_THERMAL=y
......@@ -15,6 +15,14 @@
#endif
#include "mx_android_common.h"
#define TRUSTY_OS_ENTRY 0x9e000000
#define TRUSTY_OS_RAM_SIZE 0x2000000
#define TRUSTY_OS_MMC_BLKS 0xFFF
#define TEE_HWPARTITION_ID 2
#ifdef CONFIG_IMX_TRUSTY_OS
#define NON_SECURE_FASTBOOT
#endif
/* For NAND we don't support lock/unlock */
#ifndef CONFIG_NAND_BOOT
#define CONFIG_FASTBOOT_LOCK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment