From ce2896a8a0253df23e5364cfaee1763f4dd9f81a Mon Sep 17 00:00:00 2001 From: Bhuvanchandra DV Date: Wed, 27 Jan 2016 10:31:51 +0530 Subject: [PATCH] arm: vybrid: Drop enabling GPIO, SPI and UART in legacy mode Remove the legacy way of enabling GPIO, SPI and UART on Vybrid based boards since these driver's now only supports DT mode. Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner Reviewed-by: Bin Meng --- include/configs/colibri_vf.h | 13 ------------- include/configs/pcm052.h | 3 --- include/configs/vf610twr.h | 3 --- 3 files changed, 19 deletions(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index dd44462a9f..60aee8f0bb 100644 --- a/include/configs/colibri_vf.h +++ b/include/configs/colibri_vf.h @@ -38,13 +38,10 @@ #define CONFIG_BOARD_EARLY_INIT_F -#define LPUART_BASE UART0_BASE - /* Allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG #define CONFIG_VERSION_VARIABLE -#define CONFIG_SYS_UART_PORT (0) #define CONFIG_BAUDRATE 115200 #define CONFIG_CMD_ASKENV @@ -54,10 +51,6 @@ #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR -/* GPIO support */ -#define CONFIG_DM_GPIO -#define CONFIG_VYBRID_GPIO - /* Dynamic MTD partition support */ #define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */ #define CONFIG_MTD_PARTITIONS @@ -267,10 +260,4 @@ #define CONFIG_USB_FUNCTION_MASS_STORAGE #define CONFIG_CMD_USB_MASS_STORAGE -/* Enable SPI support */ -#ifdef CONFIG_OF_CONTROL -#define CONFIG_DM_SPI -#define CONFIG_CMD_SPI -#endif - #endif /* __CONFIG_H */ diff --git a/include/configs/pcm052.h b/include/configs/pcm052.h index 2628dfa636..9d80306ad4 100644 --- a/include/configs/pcm052.h +++ b/include/configs/pcm052.h @@ -29,11 +29,8 @@ #define CONFIG_BOARD_EARLY_INIT_F -#define LPUART_BASE UART1_BASE - /* Allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE -#define CONFIG_SYS_UART_PORT (1) #define CONFIG_BAUDRATE 115200 #undef CONFIG_CMD_IMLS diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h index d100f7349e..955aef4652 100644 --- a/include/configs/vf610twr.h +++ b/include/configs/vf610twr.h @@ -36,11 +36,8 @@ #define CONFIG_BOARD_EARLY_INIT_F -#define LPUART_BASE UART1_BASE - /* Allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE -#define CONFIG_SYS_UART_PORT (1) #define CONFIG_BAUDRATE 115200 /* NAND support */ -- 2.39.5