coreboot-kgpe-d16/src/northbridge/intel
Elia Yehuda 76a88d0805 Various Intel 82810/82810E changes which allow onboard VGA to work.
At the same time also make the 82810 code handle 82810E.

 - Set SMRAM register according to CONFIG_VIDEO_MB value:
    - 512 means 512 KB
    - 1 means 1 MB
    - Every other value for CONFIG_VIDEO_MB (e.g. 0) disables VGA.
   This is not very clean, changing CONFIG_VIDEO_MB to CONFIG_VIDEO_KB
   in a future patch may be nicer.

 - Set MISSC2 register bits as required per datasheet to make VGA work.
   The code handles both 82810 and 82810E.

 - northbridge.c: Add __pci_driver entry for the Intel 82810E.

Also:

 - Rename PAM register #define to PAMR as per datasheet.

 - Drop unused/commented code for now.

 - Don't explicitly set GMCHCFG for now, the default works ok. We'll
   have to figure out the proper/ideal settings later.

The code is based on a patch from Elia Yehuda <z4ziggy@gmail.com> but
has been modified quite a bit for correctness and minimalism.

Tested on hardware with a slightly modified MS-6178 target,
patches to enable onboard-VGA for MS-6178 will follow.

Signed-off-by: Elia Yehuda <z4ziggy@gmail.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4398 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-07-05 15:50:30 +00:00
..
e7501 Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
e7520 Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
e7525 Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
i440bx Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
i855gme Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
i855pm Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
i945 Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
i3100 Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00
i82810 Various Intel 82810/82810E changes which allow onboard VGA to work. 2009-07-05 15:50:30 +00:00
i82830 Move the v3 resource allocator to v2. 2009-07-02 18:56:24 +00:00