PEPPY, Haswell: refactor and create set_translation_table function in haswell/gma.c
The code to set the graphics translation table has been in the
mainboards,but should be in the northbridge support code.
Move the function, give it a better name, and enable support for > 4
GiB while we're at it, in the remote possibility that we get some 8
GiB haswell boards.
TEST=build and boot peppy in dev mode and see that graphics still works. Build falco to make sure we did not break that build.
Signed-off-by: Ronald G. Minnich <firstname.lastname@example.org>
Reviewed-by: Aaron Durbin <email@example.com>
Reviewed-by: Furquan Shaikh <firstname.lastname@example.org>
Commit-Queue: Ronald Minnich <email@example.com>
Tested-by: Ronald Minnich <firstname.lastname@example.org>
3 files changed