diff options
author | Mark Wenning <wenning@us.ibm.com> | 2012-07-17 15:02:16 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-30 19:10:30 -0500 |
commit | d3067d6f6e86e7ff1b795d9e67c9f298e18dfbbd (patch) | |
tree | a0fd7dfe901d0b06762b20746760629262191956 /src/usr/pnor | |
parent | 0dbf0dfdd65a967045976979a33569db73fc0878 (diff) | |
download | talos-hostboot-d3067d6f6e86e7ff1b795d9e67c9f298e18dfbbd.tar.gz talos-hostboot-d3067d6f6e86e7ff1b795d9e67c9f298e18dfbbd.zip |
Implement proc_set_pore_bar HWP
Change-Id: I95562f9c3bb85e3b283020f62beaf65752281167
RTC: 42150
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1393
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r-- | src/usr/pnor/pnordd.C | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/usr/pnor/pnordd.C b/src/usr/pnor/pnordd.C index 2468b470d..4801e07a2 100644 --- a/src/usr/pnor/pnordd.C +++ b/src/usr/pnor/pnordd.C @@ -1404,9 +1404,19 @@ errlHndl_t PnorDD::eraseFlash(uint32_t i_address) This code is used in the MODEL_MEMCPY and MODEL_LPC_MEM modes */ -#define FAKE_PNOR_START 4*MEGABYTE +// $$ #define FAKE_PNOR_START 4*MEGABYTE +// $$ #define FAKE_PNOR_END 8*MEGABYTE +// $$ #define FAKE_PNOR_SIZE 4*MEGABYTE +// +// @note fake pnor is moved up and shrunk by 1/2 meg to make room for +// the SLW image, it must be at a 1 M boundary. +// See build_winkle_images for more info. +// +#define FAKE_PNOR_START 4*MEGABYTE+5*KILOBYTE #define FAKE_PNOR_END 8*MEGABYTE -#define FAKE_PNOR_SIZE 4*MEGABYTE +#define FAKE_PNOR_SIZE 3*MEGABYTE + + void write_fake_pnor( uint64_t i_pnorAddr, void* i_buffer, size_t i_size ) { //create a pointer to the offset start. |