coreboot-kgpe-d16/src
Patrick Georgi bbc880eee7 amdk8/amdfam10: Use CAR_GLOBAL for sysinfo
This gets rid of the somewhat unstructured placement of AMD's
sysinfo structure in CAR.
We used to carve out some CAR space using a Kconfig variable,
and then put sysinfo there manually (by "virtue" of pointer magic).

Now it's a variable with the CAR_GLOBAL qualifier, and build
system magic.

For this, the following steps were done (but must happen together
since the intermediates won't build):
- Add new CAR_GLOBAL sysinfo_car
- point all sysinfo pointers to sysinfo_car instead of GLOBAL_VAR
- remove DCACHE_RAM_GLOBAL_VAR_SIZE
  - from CAR setup (no need to reserve the space)
  - commented out code (that was commented out for years)
  - only copy sizeof(sysinfo) into RAM after ram init, where
    before it copied the whole GLOBAL_VAR area.
  - from Kconfig

Change-Id: I3cbcccd883ca6751326c8e32afde2eb0c91229ed
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/1887
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Marc Jones <marcj303@gmail.com>
2012-11-28 07:45:05 +01:00
..
arch/x86 Remove AMD special case for LAPIC based udelay() 2012-11-27 23:51:52 +01:00
boot Add initialization hook for chips 2012-11-27 09:16:03 +01:00
console Get rid of drivers class 2012-11-27 22:00:49 +01:00
cpu amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00
devices Provide weak empty declarations of all chip_ops used on a board 2012-11-27 21:48:22 +01:00
drivers Get rid of drivers class 2012-11-27 22:00:49 +01:00
ec Get rid of drivers class 2012-11-27 22:00:49 +01:00
include Add initialization hook for chips 2012-11-27 09:16:03 +01:00
lib Get rid of drivers class 2012-11-27 22:00:49 +01:00
mainboard amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00
northbridge amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00
southbridge Drop driver-y from GM45/ICH9/RK9 2012-11-27 23:52:02 +01:00
superio smsc/lpc47n227: Make early_serial usable 2012-11-06 21:53:48 +01:00
vendorcode Reduce number of per-mainboard changes 2012-11-16 01:11:31 +01:00
Kconfig Fix Kconfig GENERATE_*_TABLE usage 2012-11-16 01:15:55 +01:00