diff options
author | Tom Rini <trini@konsulko.com> | 2023-07-13 20:38:24 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-13 20:38:24 -0400 |
commit | f6da5e927320acd2131d0bb802103aaf34b67925 (patch) | |
tree | 660d03cc091f494f63fcec24d9e6a489c3e6291c /board/gateworks/venice/eeprom.c | |
parent | bf5152d0108683bbaabf9d7a7988f61649fc33f4 (diff) | |
parent | cdbef023e2538da12b3ca4a2b8a5b7bd1c3ada02 (diff) |
Merge tag 'u-boot-imx-20230713' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20230713
-------------------
Merge for 2023.10.
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/16888
Diffstat (limited to 'board/gateworks/venice/eeprom.c')
-rw-r--r-- | board/gateworks/venice/eeprom.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/gateworks/venice/eeprom.c b/board/gateworks/venice/eeprom.c index 6aea60ad05c..241be4ee630 100644 --- a/board/gateworks/venice/eeprom.c +++ b/board/gateworks/venice/eeprom.c @@ -218,6 +218,11 @@ const char *eeprom_get_dtb_name(int level, char *buf, int sz) int rev_base_bom = get_bom_rev(base_info.model); snprintf(buf, sz, "%s%2dxx-%dx", pre, base, som); + /* GW79xx baseboards have no build options */ + if (base == 79) { + base = (int)strtoul(base_info.model + 2, NULL, 10); + snprintf(buf, sz, "%s%4d-%dx", pre, base, som); + } switch (level) { case 0: /* full model (ie gw73xx-0x-a1a1) */ if (rev_base_bom) |