switch-coreboot/mainboard
Mart Raudsepp 3538adacfb cs5536: Add a NAND device and do the IDE PCI header disabling on time.
This implements a nand device, akin to the ide device to follow the coreboot-v3 device tree design better.
It allows us to do the IDE PCI header early enough in a clean way - the hide_vpci was called way too late
before - in phase6 of southbridge device, but we need the Flash header active instead of IDE in the VSA2
before bus scans happen, or the PCI device gets disabled in coreboot understanding by the time we get it
enabled in VSA2.
It makes NAND setup work better, but still not completely. There is a VSA2 bug for which I made a patch,
but waiting on a new binary to test if after that everything works or not. A quick hack to workaround the
VSA2 bug suggests something further will still need fixing. There are also more potential opportunities
to shuffle NAND code around to match v3 approach better, but that's a next step for me after NAND setup
actually works right in the current form.

Also corrected the documentation of ide_init() to match current reality.

Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Acked-by: Peter Stuge <peter@stuge.se>

git-svn-id: svn://coreboot.org/repository/coreboot-v3@1113 f3766cd6-281f-0410-b1cd-43a5c92072e9
2009-01-09 18:12:05 +00:00
..
adl Move OPTION_TABLE to a menu config option, and default it to enabled. This allows 2008-12-18 02:00:55 +00:00
amd This is a small HT fixup until HT links get figured out better. 2009-01-08 16:22:39 +00:00
amp This patch updates geodelx to fit the new resource allocator better. It 2009-01-07 18:26:18 +00:00
artecgroup cs5536: Add a NAND device and do the IDE PCI header disabling on time. 2009-01-09 18:12:05 +00:00
emulation This patch should serve as a porting help for other northbridges for the new resource allocator. 2008-12-31 20:00:30 +00:00
gigabyte This is a small HT fixup until HT links get figured out better. 2009-01-08 16:22:39 +00:00
jetway This patch fixes a few small problems and gets cn700 to read from an IDE 2008-12-23 23:44:39 +00:00
kontron This patch fixes up kontron for the new resource allocator. More 2008-12-31 20:02:03 +00:00
pcengines This patch updates geodelx to fit the new resource allocator better. It 2009-01-07 18:26:18 +00:00
via Kill off stage1_mtrr.c completely, and bring in mtrr.c for stage2 from v2. 2008-12-23 19:02:44 +00:00
Kconfig Make C7/CN700 boot to memtest86, and pass that test. Booting is very slow, ~15min to get to a memtest 2008-12-17 21:17:01 +00:00