coreboot-kgpe-d16/src/mainboard
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
..
a-trend Remove various .c #includes from Intel 440BX/82371EB boards. 2010-10-09 17:00:18 +00:00
abit Remove various .c #includes from Intel 440BX/82371EB boards. 2010-10-09 17:00:18 +00:00
advantech Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
amd Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
arima Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
artecgroup Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
asi Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
asrock Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
asus 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
axus Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
azza Remove various .c #includes from Intel 440BX/82371EB boards. 2010-10-09 17:00:18 +00:00
bcom Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
biostar Remove various .c #includes from Intel 440BX/82371EB boards. 2010-10-09 17:00:18 +00:00
broadcom Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
compaq Remove various .c #includes from Intel 440BX/82371EB boards. 2010-10-09 17:00:18 +00:00
dell Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
digitallogic Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
eaglelion Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
ecs ECS P6IWP-Fe: Fix typo, add missing license header. 2010-11-07 16:49:31 +00:00
emulation Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
getac Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
gigabyte Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
hp Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
ibase Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
ibm Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
iei Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
intel Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
iwill Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
jetway Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
kontron Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
lanner Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
lippert Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
mitac Remove various .c #includes from Intel i810/i82801ax/i82801bx boards. 2010-10-13 23:00:41 +00:00
msi Printing coreboot debug messages on VGA console is pretty much useless, since 2010-11-22 08:09:50 +00:00
nec Remove various .c #includes from Intel i810/i82801ax/i82801bx boards. 2010-10-13 23:00:41 +00:00
newisys Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
nokia Remove various .c #includes from Intel 440BX/82371EB boards. 2010-10-09 17:00:18 +00:00
nvidia Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
pcengines Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
rca Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
roda Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
soyo Remove various .c #includes from Intel 440BX/82371EB boards. 2010-10-09 17:00:18 +00:00
sunw Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
supermicro Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
technexion Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
technologic Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
televideo Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
thomson Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
traverse Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
tyan Simplify a few code chunks, fix whitespace and indentation. 2010-11-21 22:47:22 +00:00
via Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
winent Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
wyse Drop per-board ram_check() calls for now. 2010-11-22 15:57:57 +00:00
Kconfig Enable or disable the power button in Kconfig 2010-10-13 06:23:02 +00:00