Commit ce2896a8 authored by Bhuvanchandra DV's avatar Bhuvanchandra DV Committed by Stefano Babic

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: 's avatarBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Acked-by: 's avatarStefan Agner <stefan.agner@toradex.com>
Reviewed-by: 's avatarBin Meng <bmeng.cn@gmail.com>
parent dbac20c1
......@@ -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 */
......@@ -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
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment