From 3b14a5f92a696f98174a15c6af9fb3a351f6b00f Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 6 Mar 2021 19:46:03 +0100 Subject: doc/mb/lenovo/montevina: Fix constants for 16MiB flash The current values are actually for 32MiB and result in a brick if used with a 16MiB chip because of the invalid bios region. Change-Id: I08337394ce0d6e31e5c03cda2bfb3b9f0282f2c3 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/51322 Reviewed-by: Angel Pons Reviewed-by: Evgeny Zinoviev Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- Documentation/mainboard/lenovo/montevina_series.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Documentation') diff --git a/Documentation/mainboard/lenovo/montevina_series.md b/Documentation/mainboard/lenovo/montevina_series.md index 3e406dfcad..6931808931 100644 --- a/Documentation/mainboard/lenovo/montevina_series.md +++ b/Documentation/mainboard/lenovo/montevina_series.md @@ -59,7 +59,7 @@ the `new_layout.txt` file: | | | | | 00000000:00000fff fd | 00000000:00000fff fd | 00000000:00000fff fd | | 00001000:00002fff gbe | 00001000:00002fff gbe | 00001000:00002fff gbe | -| 00003000:003fffff bios | 00003000:007fffff bios | 00003000:01ffffff bios | +| 00003000:003fffff bios | 00003000:007fffff bios | 00003000:00ffffff bios | | 00fff000:00000fff pd | 00fff000:00000fff pd | 00fff000:00000fff pd | | 00fff000:00000fff me | 00fff000:00000fff me | 00fff000:00000fff me | +---------------------------+---------------------------+---------------------------+ @@ -108,7 +108,7 @@ If your flash is not 8 MiB, you need to change values of `flcomp_density1` and +=================+=======+=======+========+ | flcomp_density1 | 0x3 | 0x4 | 0x5 | +-----------------+-------+-------+--------+ -| flreg1_limit | 0x3ff | 0x7ff | 0x1fff | +| flreg1_limit | 0x3ff | 0x7ff | 0xfff | +-----------------+-------+-------+--------+ ``` @@ -127,7 +127,7 @@ to flash descriptor and gbe dump. ``` Mainboard ---> ROM chip size (8192 KB (8 MB)) # According to your chip - (0x7fd000) Size of CBFS filesystem in ROM # or 0x3fd000 for 4 MiB chip / 0x1ffd000 for 16 MiB chip + (0x7fd000) Size of CBFS filesystem in ROM # or 0x3fd000 for 4 MiB chip / 0xffd000 for 16 MiB chip Chipset ---> [*] Add Intel descriptor.bin file -- cgit v1.2.3