summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobertcnelson@gmail.com <robertcnelson@gmail.com>2017-03-30 19:29:54 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-08 13:26:52 (GMT)
commit52609d753b8377ad974ffa5771dbeb011dc1f81a (patch)
tree2eeba748674cd8f8d981f57790a089e7bb1b6b8d
parent2b79fba6915dd89af1e13e0da07dcd8c2b962aef (diff)
downloadu-boot-52609d753b8377ad974ffa5771dbeb011dc1f81a.tar.xz
config: am335x_evm: detect BeagleBone Blue using BLA
BeagleBone Blue is next grenation of boards from BeagleBoard.org, focusing on robotics with a TI wl1835 wireless module for connectivity. This board can be indentified by the BLAx value after A335BNLT (BBB) in the at24 eeprom: BLAx: [aa 55 33 ee 41 33 33 35 42 4e 4c 54 42 4c 41 30 |.U3.A335BNLTBLA2|] http://beagleboard.org/blue https://github.com/beagleboard/beaglebone-blue firmware: https://github.com/beagleboard/beaglebone-black-wireless/tree/master/firmware wl18xx mac address: /proc/device-tree/ocp/ethernet@4a100000/slave@4a100200/mac-address Signed-off-by: Robert Nelson <robertcnelson@gmail.com> CC: Tom Rini <trini@konsulko.com> CC: Jason Kridner <jkridner@beagleboard.org> CC: Will Newton <willn@resin.io> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/ti/am335x/board.c4
-rw-r--r--include/configs/am335x_evm.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 5458963..3e842d3 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -660,6 +660,10 @@ int board_late_init(void)
if (!strncmp(board_ti_get_rev(), "GW1", 3)) {
name = "BBGW";
}
+ /* BeagleBoard.org BeagleBone Blue */
+ if (!strncmp(board_ti_get_rev(), "BLA", 3)) {
+ name = "BBBL";
+ }
}
if (board_is_bbg1())
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index d90c515..5fbc1e3 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -144,6 +144,8 @@
"setenv fdtfile am335x-bonegreen.dtb; fi; " \
"if test $board_name = BBGW; then " \
"setenv fdtfile am335x-bonegreen-wireless.dtb; fi; " \
+ "if test $board_name = BBBL; then " \
+ "setenv fdtfile am335x-boneblue.dtb; fi; " \
"if test $board_name = A33515BB; then " \
"setenv fdtfile am335x-evm.dtb; fi; " \
"if test $board_name = A335X_SK; then " \