From e9a6d1a813f61b505f9463160c27992419cb9056 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Sun, 31 Jan 2016 11:28:06 -0800 Subject: Documentation: x86 shadow ROM disable Add documentation on disabling the SPI flash which is mapped (shadowed) into the x86 address space at 0x000e0000 - 0x000fffff. TEST=None Change-Id: I1d94d84c6cade97886a3274a7e7403f7b3275c5a Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/14112 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- Documentation/Intel/SoC/soc.html | 14 +++++++++++++- Documentation/Intel/development.html | 12 +++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/Documentation/Intel/SoC/soc.html b/Documentation/Intel/SoC/soc.html index 2380cdf61e..8f1d75ce64 100644 --- a/Documentation/Intel/SoC/soc.html +++ b/Documentation/Intel/SoC/soc.html @@ -24,6 +24,7 @@
  • Enable Serial Output"
  • Get the Previous Sleep State
  • Add the MemoryInit Support
  • +
  • Disable the Shadow ROM
  • Ramstage @@ -389,6 +390,17 @@ Use the following steps to debug the call to TempRamInit: +

    Disable Shadow ROM

    +

    + A shadow of the SPI flash part is mapped from 0x000e0000 to 0x000fffff. + This shadow needs to be disabled to allow RAM to properly respond to + this address range. +

    +
      +
    1. Edit romstage/romstage.c and add the soc_after_ram_init routine
    2. +
    + +

    Ramstage

    @@ -717,6 +729,6 @@ Use the following steps to debug the call to TempRamInit:
    -

    Modified: 28 February 2016

    +

    Modified: 4 March 2016

    \ No newline at end of file diff --git a/Documentation/Intel/development.html b/Documentation/Intel/development.html index 7b82321266..a36acaa56a 100644 --- a/Documentation/Intel/development.html +++ b/Documentation/Intel/development.html @@ -94,6 +94,9 @@
  • +
  • Disable the + Shadow ROM +
  • Implement the .init routine for the chip operations @@ -198,6 +201,13 @@ for the PCI devices on the bus. + + ROM Shadow
    0x000E0000 - 0x000FFFFF + + Disable: src/soc/<Vendor>/<Chip Family>/romstage/romstage.c/soc_after_ram_init routine + + Operates as RAM: Writes followed by a read to the 0x000E0000 - 0x000FFFFF region returns the value written + @@ -346,6 +356,6 @@
    -

    Modified: 24 February 2016

    +

    Modified: 4 March 2016

    \ No newline at end of file -- cgit v1.2.3