Add the board directory for SMN42
[platform/kernel/u-boot.git] / drivers / ns9750_serial.c
index 8dff367..02c0d39 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
+#if !defined(CONFIG_CONS_INDEX)
+#error "No console index specified."
+#endif
+
 #define CONSOLE CONFIG_CONS_INDEX
 
 static unsigned int calcBitrateRegister( void );