coreboot-kgpe-d16/src/mainboard/google/snow
Ronald G. Minnich b2893a0169 Provide support for setting up the framebuffer from EDID
Add three functions to edid.c:

void set_vbe_mode_info_valid(struct edid *edid, uintptr_t fb_addr)
takes an edid and uintptr_t, and fills in a static lb_framebuffer struct
as well as setting the static vbe_valid to 1 unless some problem
is found in the edid. The intent here is that this could be called from
the native graphics setup code on both ARM and x86.

int vbe_mode_info_valid(void)
returns value of the static vbe_valid.

void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
copies the static edid_fb to lb_framebuffer.

There is now a common vbe.h in src/include, removed the two special ones.

In general, graphics in coreboot is a mess, but graphics is always a
mess.  We don't have a clean way to try two different ways to turn on
a device and use the one that works. One battle at a time. Overall,
things are much better.

The best part: this code would also work for ARM, which also uses EDID.

Change-Id: Id23eb61498b331d44ab064b8fb4cb10f07cff7f3
Signed-off-by: Ronald G. Minnich <rminnich@google.com>
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3636
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-07-10 02:39:28 +02:00
..
bootblock.c exynos5250/snow: deprecate time.h 2013-05-06 05:32:07 +02:00
chromeos.c snow: Return 0 from get_recovery_mode_from_vbnv. 2013-04-16 11:11:53 +02:00
devicetree.cb GOOGLE/SNOW: clean up the device tree 2013-04-10 17:31:05 +02:00
Kconfig Move select MMCONF_SUPPORT under northbridge 2013-07-03 19:34:11 +02:00
mainboard.c Chromebooks: mainboard.c: Do not spell Chromebook in CamelCase 2013-02-14 19:25:54 +01:00
mainboard.h google/snow: Revise romstage initialization code. 2013-04-26 20:00:45 +02:00
Makefile.inc google/snow: Add "wakeup" module for suspend/resume. 2013-04-25 19:31:09 +02:00
memory.c exynos/snow: Move core/memory clock-related and board ID code 2013-02-06 02:11:14 +01:00
ramstage.c Provide support for setting up the framebuffer from EDID 2013-07-10 02:39:28 +02:00
romstage.c exynos5250/snow: deprecate time.h 2013-05-06 05:32:07 +02:00
wakeup.c google/snow: Revise romstage initialization code. 2013-04-26 20:00:45 +02:00