[PATCH 5/8] BBB: cpuio.c: Set devInit() to return 0 by default

Jarielle Catbagan jcatbagan93 at gmail.com
Fri Jul 3 17:54:52 UTC 2015


devInit() is not currently being used.  With the current state of uMon, all
initializations unique to the AM335x are performed in initCPUio() for now
---
 ports/beagleboneblack/cpuio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ports/beagleboneblack/cpuio.c b/ports/beagleboneblack/cpuio.c
index 77b0df8..75865e7 100644
--- a/ports/beagleboneblack/cpuio.c
+++ b/ports/beagleboneblack/cpuio.c
@@ -20,10 +20,10 @@ getUartDivisor(int baud, unsigned char *hi, unsigned char *lo)
  * As a bare minimum, initialize the console UART here using the
  * incoming 'baud' value as the baud rate.
  */
-void
+int
 devInit(int baud)
 {
-	/* ADD_CODE_HERE */
+        return(0);
 }
 
 /* ConsoleBaudSet():
-- 
2.3.3




More information about the umon-devel mailing list