2015-09-03 16:49:28 +00:00
|
|
|
CONFIG_ARM=y
|
|
|
|
CONFIG_ARCH_MX7=y
|
|
|
|
CONFIG_TARGET_MX7DSABRESD=y
|
2016-07-13 07:25:41 +00:00
|
|
|
# CONFIG_ARMV7_VIRT is not set
|
imx: mx7d: isolate resources to domain 0 for A7 core
In current design, if any peripheral was assigned to both A7 and M4,
it will receive ipg_stop or ipg_wait when any of the 2 platforms
enter low power mode. We will have a risk that, if A7 enter wait,
M4 enter stop, peripheral will have chance to get ipg_stop and ipg_wait
asserted same time. Also if M4 enters stop mode, A7 will have no
chance to access the peripheral.
There are 26 peripherals affected by this IC issue:
SIM2(sim2/emvsim2)
SIM1(sim1/emvsim1)
UART1/UART2/UART3/UART4/UART5/UART6/UART7
SAI1/SAI2/SAI3
WDOG1/WDOG2/WDOG3/WDOG4
GPT1/GPT2/GPT3/GPT4
PWM1/PWM2/PWM3/PWM4
ENET1/ENET2
Software Workaround:
The solution is to set the peripherals to Domain0 by A core, since A core
in Domain0. The peripherals which will be used by M4, will be set to Domain1
by M4.
For example, A core set WDOG4 to domain0, but when M4 boots up, M4 will
set WDOG4 to domain1, because M4 will use WDOG4.
So the peripherals are not shared by them. This way requires
the uboot implemented the RDC driver and set the 26 IPs above
to domain 0 only. M4 image will set the M4 to domain 1 and
set peripheral which it will use to domain 1.
This patch enables the CONFIG_IMX_RDC and CONFIG_IMX_BOOTAUX for
i.MX7D SABRESD board, and setup the 26 IP resources to domain 0.
Signed-off-by: Ye.Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2016-01-28 08:55:09 +00:00
|
|
|
CONFIG_IMX_RDC=y
|
|
|
|
CONFIG_IMX_BOOTAUX=y
|
2016-03-03 07:56:02 +00:00
|
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
|
2016-06-13 13:45:14 +00:00
|
|
|
CONFIG_BOOTDELAY=3
|
2016-04-22 01:37:19 +00:00
|
|
|
CONFIG_HUSH_PARSER=y
|
2015-09-03 16:49:28 +00:00
|
|
|
# CONFIG_CMD_BOOTD is not set
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_BOOTZ=y
|
2015-09-03 16:49:28 +00:00
|
|
|
# CONFIG_CMD_IMI is not set
|
|
|
|
# CONFIG_CMD_IMLS is not set
|
|
|
|
# CONFIG_CMD_XIMG is not set
|
2016-04-22 20:41:25 +00:00
|
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
|
|
CONFIG_CMD_MEMTEST=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
2016-04-22 20:41:25 +00:00
|
|
|
CONFIG_CMD_I2C=y
|
|
|
|
CONFIG_CMD_USB=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_DFU=y
|
|
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
2015-11-11 13:39:33 +00:00
|
|
|
CONFIG_CMD_GPIO=y
|
2015-09-28 12:14:15 +00:00
|
|
|
CONFIG_CMD_DHCP=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_MII=y
|
2015-09-28 12:14:15 +00:00
|
|
|
CONFIG_CMD_PING=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_CACHE=y
|
|
|
|
CONFIG_CMD_EXT2=y
|
|
|
|
CONFIG_CMD_EXT4=y
|
|
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
|
|
CONFIG_CMD_FAT=y
|
2016-09-19 17:31:30 +00:00
|
|
|
CONFIG_DFU_MMC=y
|
|
|
|
CONFIG_DFU_RAM=y
|
2016-03-25 14:39:47 +00:00
|
|
|
CONFIG_USB=y
|
2016-07-13 07:25:36 +00:00
|
|
|
CONFIG_USB_EHCI_HCD=y
|
2016-07-13 07:25:38 +00:00
|
|
|
CONFIG_MXC_USB_OTG_HACTIVE=y
|
2016-09-08 20:31:26 +00:00
|
|
|
CONFIG_USB_STORAGE=y
|
2016-03-25 14:39:47 +00:00
|
|
|
CONFIG_USB_GADGET=y
|
2016-04-13 11:20:25 +00:00
|
|
|
CONFIG_CI_UDC=y
|
2016-04-13 11:20:26 +00:00
|
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
2016-04-13 11:20:30 +00:00
|
|
|
CONFIG_G_DNL_MANUFACTURER="FSL"
|
|
|
|
CONFIG_G_DNL_VENDOR_NUM=0x0525
|
|
|
|
CONFIG_G_DNL_PRODUCT_NUM=0xa4a5
|
2016-02-23 05:55:42 +00:00
|
|
|
CONFIG_OF_LIBFDT=y
|