mirror of
https://github.com/feyisay07/meta-bsp-imx8mm.git
synced 2026-09-24 06:10:13 +01:00
150 lines
4.0 KiB
Diff
150 lines
4.0 KiB
Diff
From cf8a47603118237f8b77790c71d4c78a926aac3c Mon Sep 17 00:00:00 2001
|
|
From: Valentin Raevsky <valentin@compulab.co.il>
|
|
Date: Wed, 8 Jul 2020 17:13:29 +0300
|
|
Subject: [PATCH 045/126] mcm-imx8m-mini: config: Update .h config
|
|
|
|
Signed-off-by: Valentin Raevsky <valentin@compulab.co.il>
|
|
---
|
|
include/configs/mcm-imx8m-mini.h | 48 ++++++++--------------------------------
|
|
1 file changed, 9 insertions(+), 39 deletions(-)
|
|
|
|
diff --git a/include/configs/mcm-imx8m-mini.h b/include/configs/mcm-imx8m-mini.h
|
|
index f5ab2f101b..dd0448efca 100644
|
|
--- a/include/configs/mcm-imx8m-mini.h
|
|
+++ b/include/configs/mcm-imx8m-mini.h
|
|
@@ -9,13 +9,8 @@
|
|
|
|
#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 */
|
|
-#endif
|
|
-
|
|
#define CONFIG_SPL_MAX_SIZE (148 * 1024)
|
|
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
|
|
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
|
@@ -26,20 +21,19 @@
|
|
#ifdef CONFIG_SPL_BUILD
|
|
/*#define CONFIG_ENABLE_DDR_TRAINING_DEBUG*/
|
|
#define CONFIG_SPL_WATCHDOG_SUPPORT
|
|
-#define CONFIG_SPL_POWER_SUPPORT
|
|
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
|
|
#define CONFIG_SPL_I2C_SUPPORT
|
|
-#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv8/u-boot-spl.lds"
|
|
-#define CONFIG_SPL_STACK 0x91fff0
|
|
#define CONFIG_SPL_LIBCOMMON_SUPPORT
|
|
#define CONFIG_SPL_LIBGENERIC_SUPPORT
|
|
-#define CONFIG_SPL_BSS_START_ADDR 0x00910000
|
|
-#define CONFIG_SPL_BSS_MAX_SIZE 0x2000 /* 8 KB */
|
|
-#define CONFIG_SYS_SPL_MALLOC_START 0x42200000
|
|
-#define CONFIG_SYS_SPL_MALLOC_SIZE 0x80000 /* 512 KB */
|
|
-#define CONFIG_SYS_ICACHE_OFF
|
|
-#define CONFIG_SYS_DCACHE_OFF
|
|
-#define CONFIG_MALLOC_F_ADDR 0x912000 /* malloc f used before GD_FLG_FULL_MALLOC_INIT set */
|
|
+
|
|
+#define CONFIG_SPL_STACK 0x920000
|
|
+#define CONFIG_SPL_BSS_START_ADDR 0x910000
|
|
+#define CONFIG_SPL_BSS_MAX_SIZE SZ_8K
|
|
+#define CONFIG_SYS_SPL_MALLOC_START 0x42200000
|
|
+#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_512K
|
|
+
|
|
+/* malloc f used before GD_FLG_FULL_MALLOC_INIT set */
|
|
+#define CONFIG_MALLOC_F_ADDR 0x912000
|
|
|
|
#define CONFIG_SPL_ABORT_ON_RAW_IMAGE /* For RAW image gives a error info not panic */
|
|
|
|
@@ -56,7 +50,6 @@
|
|
#define CONFIG_POWER_I2C
|
|
#define CONFIG_POWER_BD71837
|
|
|
|
-#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
|
#endif /*ifdef CONFIG_SPL_BUILD*/
|
|
|
|
#define CONFIG_CMD_READ
|
|
@@ -65,9 +58,7 @@
|
|
|
|
#define CONFIG_REMAKE_ELF
|
|
|
|
-#define CONFIG_BOARD_EARLY_INIT_F
|
|
#define CONFIG_BOARD_POSTCLK_INIT
|
|
-#define CONFIG_BOARD_LATE_INIT
|
|
|
|
/* Flat Device Tree Definitions */
|
|
#define CONFIG_OF_BOARD_SETUP
|
|
@@ -80,13 +71,8 @@
|
|
/* ENET Config */
|
|
/* ENET1 */
|
|
#if defined(CONFIG_CMD_NET)
|
|
-#define CONFIG_CMD_PING
|
|
-#define CONFIG_CMD_DHCP
|
|
-#define CONFIG_CMD_MII
|
|
-#define CONFIG_MII
|
|
#define CONFIG_ETHPRIME "FEC"
|
|
|
|
-#define CONFIG_FEC_MXC
|
|
#define CONFIG_FEC_XCV_TYPE RGMII
|
|
#define CONFIG_FEC_MXC_PHYADDR 0
|
|
#define FEC_QUIRK_ENET_MAC
|
|
@@ -214,7 +200,6 @@
|
|
|
|
#define CONFIG_BAUDRATE 115200
|
|
|
|
-#define CONFIG_MXC_UART
|
|
#define CONFIG_MXC_UART_BASE UART3_BASE_ADDR
|
|
|
|
/* Monitor Command Prompt */
|
|
@@ -227,27 +212,16 @@
|
|
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
|
|
sizeof(CONFIG_SYS_PROMPT) + 16)
|
|
|
|
-#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
|
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
|
|
|
-#define CONFIG_CMD_FUSE
|
|
-
|
|
#define CONFIG_IMX_BOOTAUX
|
|
|
|
/* USDHC */
|
|
-#define CONFIG_CMD_MMC
|
|
#define CONFIG_FSL_USDHC
|
|
|
|
#define CONFIG_SYS_FSL_USDHC_NUM 2
|
|
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
|
|
|
-#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
|
|
-#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
|
|
-
|
|
-#define CONFIG_MXC_GPIO
|
|
-
|
|
-#define CONFIG_CMD_FUSE
|
|
-
|
|
#ifndef CONFIG_DM_I2C
|
|
#define CONFIG_SYS_I2C
|
|
#endif
|
|
@@ -277,11 +251,8 @@
|
|
|
|
#endif
|
|
|
|
-#define CONFIG_USB_GADGET_DUALSPEED
|
|
#define CONFIG_USB_GADGET_VBUS_DRAW 2
|
|
|
|
-#define CONFIG_CI_UDC
|
|
-
|
|
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
|
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
|
|
|
@@ -298,7 +269,6 @@
|
|
#define CONFIG_RM67191
|
|
#endif
|
|
|
|
-#define CONFIG_OF_SYSTEM_SETUP
|
|
#define CONFIG_BOARD_POSTCLK_INIT
|
|
#define CONFIG_OF_BOARD_SETUP
|
|
|
|
--
|
|
2.11.0
|
|
|