[PATCH] Updated BBB CONSOLE_UART_BASE in config.h

Jarielle Catbagan jcatbagan93 at gmail.com
Sat Jun 20 05:31:47 UTC 2015


CONSOLE_UART_BASE in config.h is set to UART0_BASE, where UART0_BASE is defined in am335x.h.
As a result, the inclusion of am335x.h in config.h has been added as well.
---
 ports/beagleboneblack/config.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ports/beagleboneblack/config.h b/ports/beagleboneblack/config.h
index c623456..8ccf968 100644
--- a/ports/beagleboneblack/config.h
+++ b/ports/beagleboneblack/config.h
@@ -19,13 +19,15 @@
  * phone:   908-582-2351
  */
 
+#include "am335x.h"
+
 /*
  * The target_putchar() function also drops the character at the
  * LCD...
  */
 //#define MORE_PUTCHAR lcd_putchar
 //#define CONSOLE_UART_BASE (OMAP35XX_L4_IO_BASE+0x6C000)
-#define CONSOLE_UART_BASE 0x4806C000
+#define CONSOLE_UART_BASE UART0_BASE
 
 #define SIO_STEP 4
 #define IEN_DEFAULT 0x40
-- 
2.3.3



More information about the umon-devel mailing list