global: Migrate CONFIG_MXC_USB_FLAGS et al to CFG
[platform/kernel/u-boot.git] / include / configs / xpress.h
index 3e60489..a2aa310 100644 (file)
@@ -10,7 +10,7 @@
 #include "mx6_common.h"
 #include <asm/mach-imx/gpio.h>
 
-#define CONFIG_MXC_UART_BASE           MX6UL_UART7_BASE_ADDR
+#define CFG_MXC_UART_BASE              MX6UL_UART7_BASE_ADDR
 
 /* MMC Configs */
 #define CFG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
 /* Environment is in stored in the eMMC boot partition */
 
 /* USB Configs */
-#define CONFIG_MXC_USB_PORTSC          (PORT_PTS_UTMI | PORT_PTS_PTW)
-#define CONFIG_MXC_USB_FLAGS           0
+#define CFG_MXC_USB_PORTSC             (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CFG_MXC_USB_FLAGS              0
 
-#define CONFIG_FEC_ENET_DEV            0
-#define CONFIG_FEC_MXC_PHYADDR          0x0
+#define CFG_FEC_ENET_DEV               0
+#define CFG_FEC_MXC_PHYADDR          0x0
 
-#define CONFIG_UBOOT_SECTOR_START      0x2
-#define CONFIG_UBOOT_SECTOR_COUNT      0x3fe
-
-#define CONFIG_EXTRA_ENV_SETTINGS \
+#define CFG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
        "image=zImage\0" \
        "console=ttymxc6\0" \
@@ -75,8 +72,8 @@
                        "bootz; " \
                "fi;\0" \
        "uboot=ccv/u-boot.imx\0"                                        \
-       "uboot_start="__stringify(CONFIG_UBOOT_SECTOR_START)"\0"        \
-       "uboot_size="__stringify(CONFIG_UBOOT_SECTOR_COUNT)"\0"         \
+       "uboot_start=0x2\0"                                             \
+       "uboot_size=0x3fe\0"                                            \
        "update_uboot=if tftp ${uboot}; then "                          \
                "if itest ${filesize} > 0; then "                       \
                        "mmc dev 0 1;"                                  \