Skip to content

Commit

Permalink
tegra-common: add TEGRA_FLASH_CHECK variables
Browse files Browse the repository at this point in the history
Starting with the BOARDID and BOARDSKU variables.
For our purposes, they need to be fixed at build time,
and if they don't match the actual target machine, we'll
get difficult-to-diagnose boot failures.

Signed-off-by: Matt Madison <matt@madison.systems>
  • Loading branch information
madisongh committed Nov 10, 2024
1 parent 44ba2b9 commit f89eeb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/machine/include/tegra-common.inc
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ TEGRA_SIGNING_ENV ?= "CHIPREV=${TEGRA_CHIPREV} BOARDID=${TEGRA_BOARDID} FAB=${TE

TEGRA_FLASHVARS ?= "BPFDTB_FILE BPF_FILE BR_CMD_CONFIG CHIP_SKU DEVICEPROD_CONFIG DEVICE_CONFIG DEV_PARAMS DEV_PARAMS_B EMC_FUSE_DEV_PARAMS GPIOINT_CONFIG MB2BCT_CFG MINRATCHET_CONFIG MISC_CONFIG PINMUX_CONFIG PMC_CONFIG PMIC_CONFIG PROD_CONFIG SCR_CONFIG RAMCODE TBCDTB_FILE UPHY_CONFIG WB0SDRAM_BCT"
TEGRA_FLASHVAR_TBCDTB_FILE ?= "@DTBFILE@"
TEGRA_FLASH_CHECK_VARS ?= "BOARDID BOARDSKU"
TEGRA_FLASH_CHECK_BOARDID ?= "${TEGRA_BOARDID}"
TEGRA_FLASH_CHECK_BOARDSKU ?= "${TEGRA_BOARDSKU}"

EMMC_BCTS ?= "${EMMC_BCT}${@',' + d.getVar('EMMC_BCT_OVERRIDE') if d.getVar('EMMC_BCT_OVERRIDE') else ''}"

Expand Down

0 comments on commit f89eeb2

Please sign in to comment.