coreboot-kgpe-d16/src/northbridge/amd/amdk8
Rudolf Marek bcaea142f3 1) wraps the s3 parts of chipset code/memory init code with if CONFIG_HAVE_ACPI_RESUME == 1 getting rid of ugly define in romstage.c
2) the patch implements get_cbmem_toc in chipset specific way if defined.
On Intel targets it should be unchanged. On K8T890 the the cbmem_toc is read from NVRAM. Why you ask? Because we cannot do it as on intel, because the framebuffer might be there making it hard to look for it in memory (and remember we need it so early that everying is uncached)

3) The patch removes hardcoded limits for suspend/resume save area (it was 1MB) on intel. Now it computes right numbers itself.

4) it impelements saving the memory during CAR to reserved range in sane way. First the sysinfo area (CAR data) is copied, then the rest after car is disabled (cached copy is used). I changed bit also the the copy of CAR area is now done uncached for target which I feel is more right.

I think I did not change the Intel suspend/resume behaviour but best would be if someone can test it. Please note this patch was unfinished on my drive since ages and it would be very nice to get it in to prevent bit rotten it again.
Now I feel it is done good way and should not break anything. I did a test with abuild and it seems fine.

Signed-off-by: Rudolf Marek <r.marek@assembler.cz> 
Acked-by: Tobias Diedrich <ranma+coreboot@tdiedrich.de>
Acked-by: Stefan Reinauer <stepan@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6117 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2010-11-22 22:00:52 +00:00
..
root_complex Various license header consistency fixes (trivial). 2010-02-15 23:10:19 +00:00
amdk8.h Fix all warnings in the tree 2010-07-08 16:41:05 +00:00
amdk8_acpi.c This problem was introduced with 2010-11-17 11:02:05 +00:00
amdk8_acpi.h Various license header consistency fixes (trivial). 2010-02-15 23:10:19 +00:00
amdk8_f.h fix some more warnings 2010-07-07 21:59:06 +00:00
amdk8_f_pci.c zero warnings days... 2010-04-23 19:16:30 +00:00
amdk8_pre_f.h fix some more warnings 2010-07-07 21:59:06 +00:00
amdk8_util.asl Fix amdk8_util.asl and explain behaviour a bit. 2010-05-21 20:36:47 +00:00
chip.h - First stab at running linuxbios without the old static device tree. 2004-10-16 06:20:29 +00:00
coherent_ht.c Remove duplicate line from pci_ids.h. 2010-10-07 23:02:06 +00:00
debug.c Use %p instead of %x to print void *. 2010-10-05 19:38:04 +00:00
early_ht.c This patch unifies the use of config options in v2 to all start with CONFIG_ 2009-06-30 15:17:49 +00:00
exit_from_self.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
get_sblk_pci1234.c printk_foo -> printk(BIOS_FOO, ...) 2010-03-22 11:42:32 +00:00
incoherent_ht.c Move K8_ALLOCATE_IO_RANGE to Kconfig. 2010-11-07 18:20:51 +00:00
Kconfig Move K8_ALLOCATE_IO_RANGE to Kconfig. 2010-11-07 18:20:51 +00:00
Makefile.inc Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
misc_control.c Fix spelling/typos in comments. 2010-10-02 12:51:38 +00:00
northbridge.c 1) wraps the s3 parts of chipset code/memory init code with if CONFIG_HAVE_ACPI_RESUME == 1 getting rid of ugly define in romstage.c 2010-11-22 22:00:52 +00:00
northbridge.h
raminit.c Move QRANK_DIMM_SUPPORT to Kconfig, removing it from romstage.c 2010-11-05 22:59:49 +00:00
raminit.h Remove duplicate line from pci_ids.h. 2010-10-07 23:02:06 +00:00
raminit_f.c 1) wraps the s3 parts of chipset code/memory init code with if CONFIG_HAVE_ACPI_RESUME == 1 getting rid of ugly define in romstage.c 2010-11-22 22:00:52 +00:00
raminit_f_dqs.c 1) wraps the s3 parts of chipset code/memory init code with if CONFIG_HAVE_ACPI_RESUME == 1 getting rid of ugly define in romstage.c 2010-11-22 22:00:52 +00:00
raminit_test.c Some more DIMM0 related cleanups and deduplication. 2010-11-20 20:23:08 +00:00
reset_test.c - unify use of SB_HT_CHAIN_UNITID_OFFSET_ONLY 2010-04-07 00:38:09 +00:00
resourcemap.c White space and typo fixes. This makes it easier to compare the s2895 & s2892. 2009-10-14 03:09:26 +00:00
setup_resource_map.c fix some more warnings 2010-07-07 21:59:06 +00:00
util.c Fix includes for showallroutes. 2010-04-02 20:14:21 +00:00