aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-10-18 22:37:53 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2018-10-18 22:46:36 -0400
commit766d9cc35cacf6d9ca1dc5a7ad3265c12e1ae248 (patch)
tree8c91a4337c75b0b573c64279a68568654f9d3bd9
parent7ded71fb56f45ade96cc5c178e8171c0f24791fe (diff)
downloadlibrebootfr-766d9cc35cacf6d9ca1dc5a7ad3265c12e1ae248.tar.gz
librebootfr-766d9cc35cacf6d9ca1dc5a7ad3265c12e1ae248.zip
Create Macbook2,1 corebootfb/textmode Coreboot targets
The corebootfb ROM will use Coreboot's framebuffer for display while the textmode ROM will use the legacy VGA text mode which is necessary for payloads such as Memtest86+. Options (and their values) changed in the new corebootfb config: #CONFIG_VGA_TEXT_FRAMEBUFFER is not set CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y CONFIG_LINEAR_FRAMEBUFFER=y Macbook2,1 Coreboot ROMs can now be built with './libreboot build coreboot macbook21 corebootfb' or './libreboot build coreboot macbook21 textmode', respectively.
-rw-r--r--projects/coreboot/configs/macbook21/corebootfb/config3
-rw-r--r--projects/coreboot/configs/macbook21/targets2
-rw-r--r--projects/coreboot/configs/macbook21/textmode/config1
3 files changed, 6 insertions, 0 deletions
diff --git a/projects/coreboot/configs/macbook21/corebootfb/config b/projects/coreboot/configs/macbook21/corebootfb/config
new file mode 100644
index 00000000..c86e2073
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/corebootfb/config
@@ -0,0 +1,3 @@
+CONFIG_VGA_TEXT_FRAMEBUFFER=n
+CONFIG_GENERIC_LINEAR_FRAMEBUFFER=y
+CONFIG_LINEAR_FRAMEBUFFER=y
diff --git a/projects/coreboot/configs/macbook21/targets b/projects/coreboot/configs/macbook21/targets
new file mode 100644
index 00000000..f84c583a
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/targets
@@ -0,0 +1,2 @@
+corebootfb
+textmode
diff --git a/projects/coreboot/configs/macbook21/textmode/config b/projects/coreboot/configs/macbook21/textmode/config
new file mode 100644
index 00000000..5d8cce57
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/textmode/config
@@ -0,0 +1 @@
+CONFIG_VGA_TEXT_FRAMEBUFFER=y