diff options
author | Tom Rini | 2022-12-04 09:39:03 -0500 |
---|---|---|
committer | Tom Rini | 2022-12-05 16:06:07 -0500 |
commit | 9591b63531fa5a34698ee7bb3800af6c4ea6ba2f (patch) | |
tree | 6f02552f5593d5042ffb0ef28604fad76c1d8149 /include/ns16550.h | |
parent | 57c3afbc27bc48c3029108748fc2101b8d4758d8 (diff) |
Convert CONFIG_SYS_NS16550_MEM32 et al to Kconfig
This converts the following to Kconfig:
CONFIG_SPL_NS16550_MIN_FUNCTIONS
CONFIG_SYS_NS16550_MEM32
CONFIG_SYS_NS16550_PORT_MAPPED
CONFIG_SYS_NS16550_REG_SIZE
CONFIG_SYS_NS16550_SERIAL
To do this we also introduce CONFIG_SPL_SYS_NS16550_SERIAL so that
platforms can enable the legacy driver here for SPL.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/ns16550.h')
-rw-r--r-- | include/ns16550.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ns16550.h b/include/ns16550.h index 3d9002d9f15..0ee5c4d6de7 100644 --- a/include/ns16550.h +++ b/include/ns16550.h @@ -26,7 +26,7 @@ #include <linux/types.h> -#ifdef CONFIG_DM_SERIAL +#if defined(CONFIG_DM_SERIAL) && !defined(CONFIG_SYS_NS16550_REG_SIZE) /* * For driver model we always use one byte per register, and sort out the * differences in the driver |