From 5ed07cf53ccd47be65b5bcfef7432a75bfbfa65e Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 13 Jan 2016 19:39:00 -0800 Subject: serial: lpuart: Move CONFIG_FSL_LPUART to Kconfig LPUART is seen on Freescale VF610 and QorIQ Layerscape devices. Create a Kconfig option and move it to defconfig for all boards that have this serial driver. Signed-off-by: Bin Meng Reviewed-by: Simon Glass Acked-by: Stefan Agner Acked-by: Simon Glass --- configs/ls1021atwr_nor_lpuart_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/ls1021atwr_nor_lpuart_defconfig') diff --git a/configs/ls1021atwr_nor_lpuart_defconfig b/configs/ls1021atwr_nor_lpuart_defconfig index d7afca9..58cd61f 100644 --- a/configs/ls1021atwr_nor_lpuart_defconfig +++ b/configs/ls1021atwr_nor_lpuart_defconfig @@ -4,3 +4,4 @@ CONFIG_SYS_EXTRA_OPTIONS="LPUART" # CONFIG_CMD_SETEXPR is not set CONFIG_NETDEVICES=y CONFIG_E1000=y +CONFIG_FSL_LPUART=y -- cgit v1.1 From 665ac00c9842bf45aacec2b9d8bd017ad201d7f9 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 13 Jan 2016 19:39:06 -0800 Subject: arm: ls1021atwr: Enable driver model lpuart serial driver Convert ls1021atwr_nor_lpuart to driver model support. As a start, enable lpuart serial port driver. Signed-off-by: Bin Meng Reviewed-by: Simon Glass Reviewed-by: Alison Wang Tested-by: Alison Wang Acked-by: Simon Glass --- configs/ls1021atwr_nor_lpuart_defconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configs/ls1021atwr_nor_lpuart_defconfig') diff --git a/configs/ls1021atwr_nor_lpuart_defconfig b/configs/ls1021atwr_nor_lpuart_defconfig index 58cd61f..599342f 100644 --- a/configs/ls1021atwr_nor_lpuart_defconfig +++ b/configs/ls1021atwr_nor_lpuart_defconfig @@ -1,7 +1,11 @@ CONFIG_ARM=y CONFIG_TARGET_LS1021ATWR=y +CONFIG_DM_SERIAL=y +CONFIG_DEFAULT_DEVICE_TREE="ls1021a-twr-lpuart" CONFIG_SYS_EXTRA_OPTIONS="LPUART" # CONFIG_CMD_SETEXPR is not set +CONFIG_OF_CONTROL=y +CONFIG_DM=y CONFIG_NETDEVICES=y CONFIG_E1000=y CONFIG_FSL_LPUART=y -- cgit v1.1