Created
December 17, 2015 18:06
-
-
Save RobertCNelson/21f44591c78daed7c637 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c | |
index f56d17e..a577579 100644 | |
--- a/board/ti/am335x/board.c | |
+++ b/board/ti/am335x/board.c | |
@@ -511,6 +511,9 @@ int board_late_init(void) | |
if ( (header.version[0] == 0x1a) && (header.version[1] == 0x00) && | |
(header.version[2] == 0x00) && (header.version[3] == 0x00) ) { | |
setenv("board_rev", "BBG1"); | |
+ } else if ( (header.version[0] == 0x74) && (header.version[1] == 0x0a) && | |
+ (header.version[2] == 0x75) && (header.version[3] == 0x65) ) { | |
+ setenv("board_rev", "000C"); | |
} else { | |
strncpy(safe_string, (char *)header.version, sizeof(header.version)); | |
safe_string[sizeof(header.version)] = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment