summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 09:39:03 -0500
committerTom Rini <trini@konsulko.com>2022-12-05 16:06:07 -0500
commit9591b63531fa5a34698ee7bb3800af6c4ea6ba2f (patch)
tree6f02552f5593d5042ffb0ef28604fad76c1d8149 /arch
parent57c3afbc27bc48c3029108748fc2101b8d4758d8 (diff)
downloadu-boot-9591b63531fa5a34698ee7bb3800af6c4ea6ba2f.tar.gz
u-boot-9591b63531fa5a34698ee7bb3800af6c4ea6ba2f.tar.bz2
u-boot-9591b63531fa5a34698ee7bb3800af6c4ea6ba2f.zip
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 'arch')
-rw-r--r--arch/arm/include/asm/arch-bcmcygnus/configs.h4
-rw-r--r--arch/arm/include/asm/arch-bcmnsp/configs.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-bcmcygnus/configs.h b/arch/arm/include/asm/arch-bcmcygnus/configs.h
index 327c0e0697..0c7262352d 100644
--- a/arch/arm/include/asm/arch-bcmcygnus/configs.h
+++ b/arch/arm/include/asm/arch-bcmcygnus/configs.h
@@ -11,10 +11,6 @@
/* uArchitecture specifics */
/* Serial Info */
-/* Post pad 3 bytes after each reg addr */
-#define CONFIG_SYS_NS16550_REG_SIZE (-4)
-#define CONFIG_SYS_NS16550_MEM32
-
#define CONFIG_SYS_NS16550_CLK 100000000
#define CONFIG_SYS_NS16550_CLK_DIV 54
#define CONFIG_SYS_NS16550_COM3 0x18023000
diff --git a/arch/arm/include/asm/arch-bcmnsp/configs.h b/arch/arm/include/asm/arch-bcmnsp/configs.h
index 05fa9b9612..44699476b0 100644
--- a/arch/arm/include/asm/arch-bcmnsp/configs.h
+++ b/arch/arm/include/asm/arch-bcmnsp/configs.h
@@ -11,9 +11,6 @@
/* uArchitecture specifics */
/* Serial Info */
-/* no padding */
-#define CONFIG_SYS_NS16550_REG_SIZE 1
-
#define CONFIG_SYS_NS16550_CLK 0x03b9aca0
#define CONFIG_SYS_NS16550_COM1 0x18000300