]> git.sur5r.net Git - u-boot/commitdiff
arm: vybrid: Drop enabling GPIO, SPI and UART in legacy mode
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Wed, 27 Jan 2016 05:01:51 +0000 (10:31 +0530)
committerStefano Babic <sbabic@denx.de>
Tue, 2 Feb 2016 20:36:09 +0000 (21:36 +0100)
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 <bhuvanchandra.dv@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/configs/colibri_vf.h
include/configs/pcm052.h
include/configs/vf610twr.h

index dd44462a9f4545a4fd8ea856979eddc31c73edb4..60aee8f0bbd5554b1051d566425319d372ae6915 100644 (file)
 
 #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
 
 #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
 #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 */
index 2628dfa63676dd074482f37ed90ebddd899b421b..9d80306ad4b340f40647a173e4a941edea4c64d7 100644 (file)
 
 #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
index d100f7349ef9ae9bd3ef116c790a958dc4749585..955aef4652c1002efc41dd8aefa9828b2d0a25f6 100644 (file)
 
 #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 */