mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
tegra-helper-scripts: do not set default chip SKU in tegra-flash-helper
The default chip SKU should now be getting passed via the TEGRA_FLASHVAR_CHIP_SKU setting in the machine configuration, so do not supply a probably-incorrect default in the helper script. Instead, report an error and exit. Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
committed by
Matt Madison
parent
de2553df58
commit
c7fc26f983
@@ -321,13 +321,8 @@ else
|
||||
fi
|
||||
|
||||
if [ "$CHIPID" = "0x23" -a -z "$CHIP_SKU" ]; then
|
||||
# see DEFAULT_CHIP_SKU in p3701.conf.common
|
||||
# or DFLT_CHIP_SKU in p3767.conf.common
|
||||
if [ "$BOARDID" = "3767" ]; then
|
||||
CHIP_SKU="00:00:00:D3"
|
||||
else
|
||||
CHIP_SKU="00:00:00:D0"
|
||||
fi
|
||||
echo "ERR: no default chip SKU set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -n "$FAB" ]; then
|
||||
|
||||
Reference in New Issue
Block a user