serial: uniphier: move CONFIG_UNIPHIER_SERIAL to Kconfig
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d064cbffff
commit
ff247b7a0d
configs
drivers/serial
include/configs
|
@ -7,4 +7,5 @@ CONFIG_NAND_DENALI=y
|
||||||
CONFIG_SYS_NAND_DENALI_64BIT=y
|
CONFIG_SYS_NAND_DENALI_64BIT=y
|
||||||
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
|
CONFIG_UNIPHIER_SERIAL=y
|
||||||
S:CONFIG_SPL_NAND_DENALI=y
|
S:CONFIG_SPL_NAND_DENALI=y
|
||||||
|
|
|
@ -7,4 +7,5 @@ CONFIG_NAND_DENALI=y
|
||||||
CONFIG_SYS_NAND_DENALI_64BIT=y
|
CONFIG_SYS_NAND_DENALI_64BIT=y
|
||||||
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
|
CONFIG_UNIPHIER_SERIAL=y
|
||||||
S:CONFIG_SPL_NAND_DENALI=y
|
S:CONFIG_SPL_NAND_DENALI=y
|
||||||
|
|
|
@ -7,4 +7,5 @@ CONFIG_NAND_DENALI=y
|
||||||
CONFIG_SYS_NAND_DENALI_64BIT=y
|
CONFIG_SYS_NAND_DENALI_64BIT=y
|
||||||
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
||||||
CONFIG_DM_SERIAL=y
|
CONFIG_DM_SERIAL=y
|
||||||
|
CONFIG_UNIPHIER_SERIAL=y
|
||||||
S:CONFIG_SPL_NAND_DENALI=y
|
S:CONFIG_SPL_NAND_DENALI=y
|
||||||
|
|
|
@ -4,3 +4,9 @@ config DM_SERIAL
|
||||||
help
|
help
|
||||||
If you want to use driver model for serial drivers, say Y.
|
If you want to use driver model for serial drivers, say Y.
|
||||||
To use legacy serial drivers, say N.
|
To use legacy serial drivers, say N.
|
||||||
|
|
||||||
|
config UNIPHIER_SERIAL
|
||||||
|
bool "UniPhier on-chip UART support"
|
||||||
|
depends on ARCH_UNIPHIER && DM_SERIAL
|
||||||
|
help
|
||||||
|
Support for the on-chip UARTs on the Panasonic UniPhier platform.
|
||||||
|
|
|
@ -28,9 +28,7 @@
|
||||||
* SoC UART : enable CONFIG_UNIPHIER_SERIAL
|
* SoC UART : enable CONFIG_UNIPHIER_SERIAL
|
||||||
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL
|
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL
|
||||||
*/
|
*/
|
||||||
#if 1
|
#if 0
|
||||||
#define CONFIG_UNIPHIER_SERIAL
|
|
||||||
#else
|
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,7 @@
|
||||||
* SoC UART : enable CONFIG_UNIPHIER_SERIAL
|
* SoC UART : enable CONFIG_UNIPHIER_SERIAL
|
||||||
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL
|
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL
|
||||||
*/
|
*/
|
||||||
#if 1
|
#if 0
|
||||||
#define CONFIG_UNIPHIER_SERIAL
|
|
||||||
#else
|
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,7 @@
|
||||||
* SoC UART : enable CONFIG_UNIPHIER_SERIAL
|
* SoC UART : enable CONFIG_UNIPHIER_SERIAL
|
||||||
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL
|
* On-board UART: enable CONFIG_SYS_NS16550_SERIAL
|
||||||
*/
|
*/
|
||||||
#if 1
|
#if 0
|
||||||
#define CONFIG_UNIPHIER_SERIAL
|
|
||||||
#else
|
|
||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue