summaryrefslogtreecommitdiff
path: root/include/configs/SIMPC8313.h
diff options
context:
space:
mode:
authorRon Madrid <ron_madrid@sbcglobal.net>2009-02-18 14:30:44 -0800
committerWolfgang Denk <wd@denx.de>2009-02-19 00:34:51 +0100
commitf5675aa5ceeef30740970ab8ca0c8cbc324945cd (patch)
tree0ef4726c6591324c2bda00cbb956d8a97c7fe527 /include/configs/SIMPC8313.h
parent7b0bc0219db8981613259473cf19699ac259b4fb (diff)
Create configuration option for restricted ns16550 functions
This patch will create a configuration option for a minimum configuration for the ns16550 serial driver at drivers/serial/ns16550.c and will apply this new configuration option to the SIMPC8313.h config file in order to fix the NAND bootstrap build error. This option will exclude all functions with exception of NS16550_putc and NS16550_init. This will be used primarily to save space and remove unused code from builds in which space is limited. Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
Diffstat (limited to 'include/configs/SIMPC8313.h')
-rw-r--r--include/configs/SIMPC8313.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/SIMPC8313.h b/include/configs/SIMPC8313.h
index f62a705195..b939cfa79f 100644
--- a/include/configs/SIMPC8313.h
+++ b/include/configs/SIMPC8313.h
@@ -205,6 +205,9 @@
#define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE 1
+#ifdef CONFIG_NAND_SPL
+#define CONFIG_NS16550_MIN_FUNCTIONS
+#endif
#define CONFIG_SYS_BAUDRATE_TABLE \
{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200}