aboutsummaryrefslogtreecommitdiff
path: root/board/ti/am335x
diff options
context:
space:
mode:
authorPaul Barker2022-04-11 15:42:01 +0000
committerTom Rini2022-04-21 09:08:57 -0400
commita95cd68d516a547b09e6060b664e101e03706365 (patch)
treecf7fed0d087ae797cac186cf38764f2d1f64d08e /board/ti/am335x
parentcde726442b244029d99965695a25ce198e14fbbb (diff)
board: ti: am335x: Add support for BBE Extended WiFi
The Sancloud BeagleBone Enhanced Extended WiFi (BBE Extended WiFi) has its own devicetree file and the board can be identified by the 2nd letter of the config string within the common EEPROM. Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Diffstat (limited to 'board/ti/am335x')
-rw-r--r--board/ti/am335x/board.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index dd54f4d457a..7c0545892c9 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -828,10 +828,16 @@ int board_late_init(void)
if (board_is_bben()) {
char subtype_id = board_ti_get_config()[1];
- if (subtype_id == 'L')
+ switch (subtype_id) {
+ case 'L':
name = "BBELITE";
- else
+ break;
+ case 'I':
+ name = "BBE_EX_WIFI";
+ break;
+ default:
name = "BBEN";
+ }
}
set_board_info_env(name);