configs: j7200_evm_a72: Update default mtdparts for 47040000.spi.0

The MTD partitions listed are not what should be. Changes made are:

- Move ospi.env.backup to 0x6C0000 so it does not lie in the middle of
  an erase block.

- Make ospi.env and ospi.env.backup 256k so they span a full erase
  block.

- Drop the sysfw partition. It is bundled with R5 SPL now.

- Add the PHY calibration pattern partition.

NOTE: The code in the OSPI driver is very naive so it won't actually
read this variable to find the PHY pattern location 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>
This commit is contained in:
Pratyush Yadav 2021-04-14 23:53:45 +05:30 committed by Praneeth Bajjuri
parent 966c9d104d
commit c3e1d444f9
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,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),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),-@8m(hbmc.rootfs)"
CONFIG_CMD_UBI=y
# CONFIG_ISO_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set