mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 02:15:14 +00:00
CONFIG_FLASH_NVMEM_SIZE was set to CFG_TOP_SIZE and then the partition size was computed by dividing this value by 2. Changed this so that now the partition size is set to CFG_TOP_SIZE and the total size is the partition size * 2. Also reduced the CFG_TOP_SIZE to 0x4000 as that should be plenty for TPM requirements and leaves room for future gnubby use. BRANCH=none CQ-DEPEND=CL:379076 BUG=chrome-os-partner:56798 TEST=manual Tested on Kevin, erased the existing NvMem area and verified that TPM was still manufactured and executed the command: trunks_client --own Erased parition 0 and 1 in the new locations and repeated the tests. Change-Id: Ie8910bec641d8d1ff390be5b03b430bf39d18404 Signed-off-by: Scott <scollyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/379095 Commit-Ready: Bill Richardson <wfrichar@chromium.org> Tested-by: Bill Richardson <wfrichar@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Tested-by: Andrey Pronin <apronin@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>