summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/imx8dxl_evk.h4
-rw-r--r--include/configs/imx8mm_ab2.h15
-rw-r--r--include/configs/imx8mn_ab2.h17
3 files changed, 34 insertions, 2 deletions
diff --git a/include/configs/imx8dxl_evk.h b/include/configs/imx8dxl_evk.h
index 4d2df35987..ccd81ab5da 100644
--- a/include/configs/imx8dxl_evk.h
+++ b/include/configs/imx8dxl_evk.h
@@ -290,9 +290,9 @@
/* total DDR is 1GB */
#if defined(CONFIG_TARGET_IMX8DXL_DDR3_EVK)
-#define PHYS_SDRAM_1_SIZE 0x20000000
+#define PHYS_SDRAM_1_SIZE 0x1FF00000 /* 512MB - ECC region 1MB */
#else
-#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1 GB */
+#define PHYS_SDRAM_1_SIZE 0x3FE00000 /* 1 GB - ECC region 2MB */
#endif
#define PHYS_SDRAM_2_SIZE 0x00000000
diff --git a/include/configs/imx8mm_ab2.h b/include/configs/imx8mm_ab2.h
index ed93602591..546aa47408 100644
--- a/include/configs/imx8mm_ab2.h
+++ b/include/configs/imx8mm_ab2.h
@@ -53,6 +53,7 @@
#define CONFIG_CMD_READ
#define CONFIG_SERIAL_TAG
+#define CONFIG_FASTBOOT_USB_DEV 0
#define CONFIG_REMAKE_ELF
/* ENET Config */
@@ -300,4 +301,18 @@
#define CONFIG_SYS_I2C_SPEED 100000
+/* USB configs */
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#define CONFIG_USBD_HS
+#define CONFIG_CMD_USB_MASS_STORAGE
+#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USB_FUNCTION_MASS_STORAGE
+#endif
+
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
+#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+
#endif
diff --git a/include/configs/imx8mn_ab2.h b/include/configs/imx8mn_ab2.h
index cf116ff3cc..16027de06f 100644
--- a/include/configs/imx8mn_ab2.h
+++ b/include/configs/imx8mn_ab2.h
@@ -281,4 +281,21 @@
#define CONFIG_SYS_I2C_SPEED 100000
+/* USB configs */
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#define CONFIG_USBD_HS
+
+#define CONFIG_CMD_USB_MASS_STORAGE
+#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USB_FUNCTION_MASS_STORAGE
+
+#endif
+
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
+
+#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+
#endif