The point of the patch is to make it easier to understand the raminit
authorMyles Watson <mylesgw@gmail.com>
Thu, 4 Jun 2009 20:18:42 +0000 (20:18 +0000)
committerMyles Watson <mylesgw@gmail.com>
Thu, 4 Jun 2009 20:18:42 +0000 (20:18 +0000)
commit1725703a1d37e44464bd988da0bca060afa82207
treecc966f6d646415f45c6952e6ae3cf9b32b9427cd
parentd11bd003c6aa075fb1a9874a4eb23902edd96f06
The point of the patch is to make it easier to understand the raminit
code, specifically the difference between pre_f and f code.

The only functional changes are in printk statements.  The rest is white space.

1. Remove some #if 0 and #if 1 blocks
2. Remove #if USE_DCACHE_RAM blocks.  All K8 boards use CAR.
2. Correct typos (canidate -> candidate)
3. Try to minimize the differences between amdk8_f.h and amdk8_pre_f.h
4. Try to minimize the differences between raminit.c and raminit_f.c
5. Make boards that have rev_f processors include the correct raminit code

There is much more that could be done, but it's a start.

Abuild tested and boot tested on s2892 and serengeti_cheetah.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4337 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/mainboard/amd/dbm690t/cache_as_ram_auto.c
src/mainboard/amd/pistachio/cache_as_ram_auto.c
src/mainboard/amd/serengeti_cheetah/cache_as_ram_auto.c
src/mainboard/technexion/tim8690/cache_as_ram_auto.c
src/northbridge/amd/amdk8/Config.lb
src/northbridge/amd/amdk8/amdk8.h
src/northbridge/amd/amdk8/amdk8_f.h
src/northbridge/amd/amdk8/amdk8_pre_f.h [new file with mode: 0644]
src/northbridge/amd/amdk8/misc_control.c
src/northbridge/amd/amdk8/raminit.c
src/northbridge/amd/amdk8/raminit_f.c