diff options
author | Pratyush Yadav <p.yadav@ti.com> | 2021-04-14 23:53:42 +0530 |
---|---|---|
committer | Praneeth Bajjuri <praneeth@ti.com> | 2021-04-14 13:52:44 -0500 |
commit | 1d972030bb68f63d8f4cd4a58e410b67f74652e0 (patch) | |
tree | 1533fbcbc3ea2d0d8fafa4a7d9e2c08f2df47ed8 /configs/j721e_hs_evm_a72_defconfig | |
parent | 28612c2557ef41473184807beca36b46cdcad29d (diff) |
configs: j721e{_hs_}evm_a72: Add PHY pattern partition to mtdparts
With PHY calibration now added in the Cadence QSPI controller driver, it
needs the PHY pattern partition to find out where the PHY calibration
pattern is stored. This partition is usually stored at the start of the
last erase sector on the flash. This means the rootfs can't span till
the end of the flash anymore.
Update CONFIG_MTDPARTS_DEFAULT to include the PHY pattern partition so
Linux won't unknowingly over-write the pattern.
NOTE: The code in the driver is very naive so it won't actually read
this variable as of now, and needs the partition to also be present in
device tree. But this change will make sure Linux does not over-write
the pattern thinking it is part of the rootfs.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Diffstat (limited to 'configs/j721e_hs_evm_a72_defconfig')
-rw-r--r-- | configs/j721e_hs_evm_a72_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/j721e_hs_evm_a72_defconfig b/configs/j721e_hs_evm_a72_defconfig index d857efbab47..cccc0e2f03b 100644 --- a/configs/j721e_hs_evm_a72_defconfig +++ b/configs/j721e_hs_evm_a72_defconfig @@ -63,7 +63,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_TIME=y CONFIG_CMD_EXT4_WRITE=y CONFIG_MTDIDS_DEFAULT="nor0=47040000.spi.0,nor0=47034000.hyperbus" -CONFIG_MTDPARTS_DEFAULT="mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),-@8m(ospi.rootfs);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs)" +CONFIG_MTDPARTS_DEFAULT="mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs)" CONFIG_CMD_UBI=y # CONFIG_ISO_PARTITION is not set # CONFIG_SPL_EFI_PARTITION is not set |