]> git.sur5r.net Git - u-boot/blobdiff - include/configs/rpi.h
rpi: Determine PL011/Mini-UART availability at runtime
[u-boot] / include / configs / rpi.h
index cab8661779e0460a5991afd3ae4697fd02ce6afb..2c84cf9a49b8184fb5576774669cfd19acc47d84 100644 (file)
 #define CONFIG_MISC_INIT_R
 #endif
 
-/* Console UART */
-#if defined (CONFIG_BCM2837) || defined(CONFIG_TARGET_RPI_0_W)
+/* Console UART, can be configured dynamically in config.txt */
 #define CONFIG_BCM283X_MU_SERIAL
-#else
 #define CONFIG_PL01X_SERIAL
-#endif
 
 /* Console configuration */
 #define CONFIG_SYS_CBSIZE              1024