diff options
| author | Tom Rini <[email protected]> | 2022-04-21 10:56:58 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-21 10:56:58 -0400 |
| commit | feeacc7ec70560c535c0eb7a4d847ad17cacbeff (patch) | |
| tree | 404228235100b5ae6d40f9c307718aaee46ce308 /board | |
| parent | 22bfaa1f673ab5442dfb9778eea4c9a18dee42d0 (diff) | |
| parent | 1dd56db5e0bcb05e65fd646d3252f9b439461fb0 (diff) | |
Merge branch '2022-04-21-assorted-improvements'
- For the environment, add a arch_env_get_location hook and make use of
it on some NXP platforms (so that boards can override SoCs).
- Remove some unused squashfs code from SPL
- Resync am335x beaglebone related DTS files
- Enable SPL_SEPARATE_BSS if SPL_BSS_START_ADDR is used
Diffstat (limited to 'board')
| -rw-r--r-- | board/ti/am335x/board.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 9b7067040a6..7c0545892c9 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -825,8 +825,20 @@ int board_late_init(void) if (board_is_bbg1()) name = "BBG1"; - if (board_is_bben()) - name = "BBEN"; + if (board_is_bben()) { + char subtype_id = board_ti_get_config()[1]; + + switch (subtype_id) { + case 'L': + name = "BBELITE"; + break; + case 'I': + name = "BBE_EX_WIFI"; + break; + default: + name = "BBEN"; + } + } set_board_info_env(name); /* |
