coreboot-kgpe-d16/src/mainboard/amd/mahogany
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
..
acpi Deduplicate various ACPI .asl files. 2010-12-09 12:39:48 +00:00
acpi_tables.c Refactor some alignment handling 2012-04-20 21:18:02 +02:00
cmos.layout Replace dual_core and quad_core CMOS (nvram) options with multi_core. Fix some white space. 2010-04-08 15:06:44 +00:00
devicetree.cb Use subsystem id from devicetree.cb instead of Kconfig and move 2011-03-01 19:58:47 +00:00
dsdt.asl ACPI: More ../../.. removal 2012-02-22 22:16:15 +01:00
get_bus_conf.c Clean up #ifs 2012-05-08 00:34:34 +02:00
irq_tables.c Convert boards to use mptable_write_buses. 2010-11-21 14:40:09 +00:00
Kconfig amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00
mainboard.c Drop redundant CHIP_NAME in mainboard.c 2012-11-06 21:59:21 +01:00
mptable.c Clean up #ifs 2012-05-08 00:34:34 +02:00
resourcemap.c 1. Features of mahogany. 2010-03-16 01:42:50 +00:00
romstage.c amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00