aboutsummaryrefslogtreecommitdiff
path: root/include/configs/sniper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/sniper.h')
-rw-r--r--include/configs/sniper.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/sniper.h b/include/configs/sniper.h
index 34f7f6e5147..559311fb80b 100644
--- a/include/configs/sniper.h
+++ b/include/configs/sniper.h
@@ -196,9 +196,7 @@
*/
-#ifndef CONFIG_SPL_BUILD
-#define CONFIG_NS16550_SERIAL
-#else
+#ifdef CONFIG_SPL_BUILD
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
#endif