[coreboot-gerrit] New patch to review for coreboot: 4760ab9 southbridge/bd82x6x: Reserve 16 MiB for flash and not 8.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Wed Feb 5 15:05:32 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5133

-gerrit

commit 4760ab93695e5c9ceadabbdda22fe1793efcaea3
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Wed Feb 5 15:03:50 2014 +0100

    southbridge/bd82x6x: Reserve 16 MiB for flash and not 8.
    
    X230 has 12 MiB flash. SPI controller supports up to 2 x 16 MiB of flash
    but address map limits this to 16MiB.
    
    Change-Id: Icc39c3c8d45d2d14e437bdfce920f8b4b039789d
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/southbridge/intel/bd82x6x/lpc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/southbridge/intel/bd82x6x/lpc.c b/src/southbridge/intel/bd82x6x/lpc.c
index e052150..5e6a7e0 100644
--- a/src/southbridge/intel/bd82x6x/lpc.c
+++ b/src/southbridge/intel/bd82x6x/lpc.c
@@ -593,8 +593,8 @@ static void pch_lpc_read_resources(device_t dev)
 		     IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
 
 	res = new_resource(dev, IOINDEX_SUBTRACTIVE(io_index++, 0));
-	res->base = 0xff800000;
-	res->size = 0x00800000; /* 8 MB for flash */
+	res->base = 0xff000000;
+	res->size = 0x01000000; /* 16 MB for flash */
 	res->flags = IORESOURCE_MEM | IORESOURCE_SUBTRACTIVE |
 		     IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
 



More information about the coreboot-gerrit mailing list