summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2018-08-09 10:32:38 -0500
committerFrank Li <Frank.Li@nxp.com>2018-08-10 12:10:31 -0500
commit21ce8ab67d0a8eae3df91b074ffad9fb4b987961 (patch)
tree74a9860e16f73365c417b60a91125ca4e0b4516e /include/configs
parent7c3d2a17bf85e97a486d01e231480baaa7e7a167 (diff)
MLK-19181-3: defconfig: iMX850D enable USB SDP
uuu can download whole uboot and run it fastboot also enabled. malloc start at 0x182000, size is 0x6000 (24K) So BSS and malloc use all OCRAM_S stack move to endof OCRAM 0x91FFF0. ATF start at 91000 AFT about 48K, 0x91000 - 0x91D000, Stack size is about 16K. Signed-off-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/imx8mq_evk.h42
1 files changed, 17 insertions, 25 deletions
diff --git a/include/configs/imx8mq_evk.h b/include/configs/imx8mq_evk.h
index 4569c8fe8b4..b4cb537d0ac 100644
--- a/include/configs/imx8mq_evk.h
+++ b/include/configs/imx8mq_evk.h
@@ -9,6 +9,7 @@
#include <linux/sizes.h>
#include <asm/arch/imx-regs.h>
+#include "imx_env.h"
#ifdef CONFIG_SECURE_BOOT
#define CONFIG_CSF_SIZE 0x2000 /* 8K region */
@@ -28,7 +29,7 @@
#define CONFIG_SPL_POWER_SUPPORT
#define CONFIG_SPL_I2C_SUPPORT
#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv8/u-boot-spl.lds"
-#define CONFIG_SPL_STACK 0x187FF0
+#define CONFIG_SPL_STACK 0x91FFF0
#define CONFIG_SPL_LIBCOMMON_SUPPORT
#define CONFIG_SPL_LIBGENERIC_SUPPORT
#define CONFIG_SPL_SERIAL_SUPPORT
@@ -37,7 +38,7 @@
#define CONFIG_SPL_BSS_START_ADDR 0x00180000
#define CONFIG_SPL_BSS_MAX_SIZE 0x2000 /* 8 KB */
#define CONFIG_SYS_SPL_MALLOC_START 0x00182000
-#define CONFIG_SYS_SPL_MALLOC_SIZE 0x2000 /* 8 KB */
+#define CONFIG_SYS_SPL_MALLOC_SIZE 0x6000 /* 24 KB */
#define CONFIG_SYS_ICACHE_OFF
#define CONFIG_SYS_DCACHE_OFF
@@ -107,16 +108,12 @@
"jh_netboot=setenv fdt_file fsl-imx8mq-evk-root.dtb; setenv jh_clk clk_ignore_unused; run netboot\0 "
#define CONFIG_MFG_ENV_SETTINGS \
- "mfgtool_args=setenv bootargs console=${console},${baudrate} " \
- "rdinit=/linuxrc " \
- "g_mass_storage.stall=0 g_mass_storage.removable=1 " \
- "g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF "\
- "g_mass_storage.iSerialNumber=\"\" "\
- "clk_ignore_unused "\
- "\0" \
+ CONFIG_MFG_ENV_SETTINGS_DEFAULT \
"initrd_addr=0x43800000\0" \
"initrd_high=0xffffffff\0" \
- "bootcmd_mfg=run mfgtool_args;booti ${loadaddr} ${initrd_addr} ${fdt_addr};\0" \
+ "emmc_dev=1\0"\
+ "sd_dev=0\0" \
+
/* Initial environment variables */
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_MFG_ENV_SETTINGS \
@@ -262,32 +259,27 @@
/* USB configs */
#ifndef CONFIG_SPL_BUILD
-#define CONFIG_USB_XHCI_IMX8M
-#define CONFIG_USB_XHCI_DWC3
-#define CONFIG_USB_XHCI_HCD
-#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_CMD_USB
#define CONFIG_USB_STORAGE
-#define CONFIG_USB_DWC3
-#define CONFIG_USB_DWC3_GADGET
-#define CONFIG_USBD_HS
-
-#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_GADGET_MASS_STORAGE
-#define CONFIG_USB_GADGET_DOWNLOAD
-#define CONFIG_USB_GADGET_VBUS_DRAW 2
-#define CONFIG_USB_GADGET_DUALSPEED
#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_USB_GADGET_VENDOR_NUM 0x0525
-#define CONFIG_USB_GADGET_PRODUCT_NUM 0xa4a5
-#define CONFIG_USB_GADGET_MANUFACTURER "FSL"
+#define CONFIG_CMD_READ
#endif
+#define CONFIG_SERIAL_TAG
+#define CONFIG_FASTBOOT_USB_DEV 0
+
+
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+
+#define CONFIG_USBD_HS
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
+
#define CONFIG_OF_SYSTEM_SETUP
/* Framebuffer */