global: Migrate CONFIG_MXC_UART_BASE to CFG
[platform/kernel/u-boot.git] / include / configs / librem5.h
index 389469a..9e4d373 100644 (file)
@@ -15,8 +15,6 @@
 #include <linux/sizes.h>
 #include <asm/arch/imx-regs.h>
 
-#define CONFIG_SYS_MONITOR_LEN         (512 * 1024)
-
 #ifdef CONFIG_SPL_BUILD
 
 #define CONFIG_SPL_ABORT_ON_RAW_IMAGE /* For RAW image gives a error info not panic */
 
 #endif /* CONFIG_SPL_BUILD*/
 
-#define CONFIG_SYS_FSL_USDHC_NUM       2
-
-#define CONFIG_USBD_HS
+#define CFG_SYS_FSL_USDHC_NUM  2
 
 #define CONSOLE_ON_UART1
 
 #ifdef CONSOLE_ON_UART1
-#define CONFIG_MXC_UART_BASE           UART1_BASE_ADDR
+#define CFG_MXC_UART_BASE              UART1_BASE_ADDR
 #define CONSOLE_UART_CLK               0
 #define CONSOLE                "ttymxc0"
 #elif defined(CONSOLE_ON_UART2)
-#define CONFIG_MXC_UART_BASE           UART2_BASE_ADDR
+#define CFG_MXC_UART_BASE              UART2_BASE_ADDR
 #define CONSOLE_UART_CLK               1
 #define CONSOLE                "ttymxc1"
 #elif defined(CONSOLE_ON_UART3)
-#define CONFIG_MXC_UART_BASE           UART3_BASE_ADDR
+#define CFG_MXC_UART_BASE              UART3_BASE_ADDR
 #define CONSOLE_UART_CLK               2
 #define CONSOLE                "ttymxc2"
 #elif defined(CONSOLE_ON_UART4)
-#define CONFIG_MXC_UART_BASE           UART4_BASE_ADDR
+#define CFG_MXC_UART_BASE              UART4_BASE_ADDR
 #define CONSOLE_UART_CLK               3
 #define CONSOLE                "ttymxc3"
 #else
-#define CONFIG_MXC_UART_BASE           UART1_BASE_ADDR
+#define CFG_MXC_UART_BASE              UART1_BASE_ADDR
 #define CONSOLE_UART_CLK               0
 #define CONSOLE                "ttymxc0"
 #endif
@@ -66,7 +62,7 @@
 #endif
 
 /* Initial environment variables */
-#define CONFIG_EXTRA_ENV_SETTINGS              \
+#define CFG_EXTRA_ENV_SETTINGS         \
        "scriptaddr=0x80000000\0" \
        "pxefile_addr_r=0x80100000\0" \
        "kernel_addr_r=0x80800000\0" \
 
 /* Link Definitions */
 
-#define CONFIG_SYS_INIT_RAM_ADDR        0x40000000
-#define CONFIG_SYS_INIT_RAM_SIZE        0x80000
+#define CFG_SYS_INIT_RAM_ADDR        0x40000000
+#define CFG_SYS_INIT_RAM_SIZE        0x80000
 
-#define CONFIG_SYS_SDRAM_BASE           0x40000000
+#define CFG_SYS_SDRAM_BASE           0x40000000
 #define PHYS_SDRAM                      0x40000000
 #define PHYS_SDRAM_SIZE                        0xc0000000 /* 3GB LPDDR4 one Rank */
 
 /* Monitor Command Prompt */
 
-#define CONFIG_SYS_FSL_ESDHC_ADDR       0
+#define CFG_SYS_FSL_ESDHC_ADDR       0
 
 #endif