restore the old code for enabling flash. The new amd code did not work.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2346 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
da7ee9fa07
commit
4788effb04
|
@ -358,7 +358,7 @@ chipsetinit (struct northbridge_amd_gx2_config *nb){
|
|||
|
||||
|
||||
/* Flash Setup*/
|
||||
printk_err("%sDOING ChipsetFlashSetup()!!!!!!!!!!!!!!!!!!\n", nb->setupflash? "NOT " : "");
|
||||
printk_err("%sDOING ChipsetFlashSetup()!!!!!!!!!!!!!!!!!!\n", nb->setupflash? " " : "NOT");
|
||||
if (nb->setupflash)
|
||||
ChipsetFlashSetup();
|
||||
|
||||
|
|
|
@ -14,13 +14,15 @@
|
|||
|
||||
/* Intended value for LBAR_FLSH0: 4KiB, enabled, MMIO, NAND, @0x20000000 */
|
||||
/* NOTE: no longer used, prune at some point */
|
||||
/* OOPS: steve's changes don't work, so we have to keep this */
|
||||
msr_t flsh0 = { .hi=0xFFFFF007, .lo=0x20000000};
|
||||
|
||||
static void
|
||||
enable_ide_nand_flash(){
|
||||
msr_t msr;
|
||||
printk_err("cs5536: %s\n", __FUNCTION__);
|
||||
#if 0
|
||||
#if 1
|
||||
printk_err("WARNING: using deprecated flash enable mechanism\n");
|
||||
/* steve took this one out ... not sure if needed or not */
|
||||
msr = rdmsr(MDD_LBAR_FLSH0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue