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.

Change-Id: I72b4a0a88e53435e00d9b5e945479a51bd205130
Signed-off-by: Ronald G. Minnich <>
Reviewed-by: Aaron Durbin <>
Reviewed-by: Furquan Shaikh <>
Commit-Queue: Ronald Minnich <>
Tested-by: Ronald Minnich <>
3 files changed