aboutsummaryrefslogtreecommitdiff
path: root/projects/coreboot/configs/macbook21/2mb
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2019-01-14 21:31:34 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2019-01-14 21:31:34 -0500
commiteda40e7561c1fa8fa45e18010b347f82f123e16b (patch)
treed2dd2b60cebd7d5cd728c78d1138fe1445124886 /projects/coreboot/configs/macbook21/2mb
parentc484b3c2ec2b9e57e807668f25255655d0e4da27 (diff)
downloadlibrebootfr-eda40e7561c1fa8fa45e18010b347f82f123e16b.tar.gz
librebootfr-eda40e7561c1fa8fa45e18010b347f82f123e16b.zip
Restructure Macbook2,1 coreboot target directories
The intent is to create a simple rule of thumb where arguments are given beginning with those that relate to the device's physical attributes, such as flash chip size, continuing with arguments on how to use the hardware (e.g. display mode), and ending with anything else.
Diffstat (limited to 'projects/coreboot/configs/macbook21/2mb')
-rw-r--r--projects/coreboot/configs/macbook21/2mb/config4
-rw-r--r--projects/coreboot/configs/macbook21/2mb/corebootfb/config3
-rw-r--r--projects/coreboot/configs/macbook21/2mb/corebootfb/grub/config1
-rw-r--r--projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/config1
-rw-r--r--projects/coreboot/configs/macbook21/2mb/corebootfb/targets2
-rw-r--r--projects/coreboot/configs/macbook21/2mb/targets2
-rw-r--r--projects/coreboot/configs/macbook21/2mb/textmode/config1
-rw-r--r--projects/coreboot/configs/macbook21/2mb/textmode/grub/config1
-rw-r--r--projects/coreboot/configs/macbook21/2mb/textmode/seabios/config1
-rw-r--r--projects/coreboot/configs/macbook21/2mb/textmode/targets2
10 files changed, 18 insertions, 0 deletions
diff --git a/projects/coreboot/configs/macbook21/2mb/config b/projects/coreboot/configs/macbook21/2mb/config
new file mode 100644
index 00000000..adffe7ae
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/config
@@ -0,0 +1,4 @@
+CONFIG_CBFS_SIZE=0x200000
+CONFIG_COREBOOT_ROMSIZE_KB_2048=y
+CONFIG_COREBOOT_ROMSIZE_KB=2048
+CONFIG_ROM_SIZE=0x200000
diff --git a/projects/coreboot/configs/macbook21/2mb/corebootfb/config b/projects/coreboot/configs/macbook21/2mb/corebootfb/config
new file mode 100644
index 00000000..c86e2073
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/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/2mb/corebootfb/grub/config b/projects/coreboot/configs/macbook21/2mb/corebootfb/grub/config
new file mode 100644
index 00000000..5170a90a
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/corebootfb/grub/config
@@ -0,0 +1 @@
+CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2"
diff --git a/projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/config b/projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/config
new file mode 100644
index 00000000..a3c13aff
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/config
@@ -0,0 +1 @@
+CONFIG_PAYLOAD_FILE="$(obj)/../seabios/bios.bin.elf"
diff --git a/projects/coreboot/configs/macbook21/2mb/corebootfb/targets b/projects/coreboot/configs/macbook21/2mb/corebootfb/targets
new file mode 100644
index 00000000..f2cba0e5
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/corebootfb/targets
@@ -0,0 +1,2 @@
+grub
+seabios
diff --git a/projects/coreboot/configs/macbook21/2mb/targets b/projects/coreboot/configs/macbook21/2mb/targets
new file mode 100644
index 00000000..f84c583a
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/targets
@@ -0,0 +1,2 @@
+corebootfb
+textmode
diff --git a/projects/coreboot/configs/macbook21/2mb/textmode/config b/projects/coreboot/configs/macbook21/2mb/textmode/config
new file mode 100644
index 00000000..5d8cce57
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/textmode/config
@@ -0,0 +1 @@
+CONFIG_VGA_TEXT_FRAMEBUFFER=y
diff --git a/projects/coreboot/configs/macbook21/2mb/textmode/grub/config b/projects/coreboot/configs/macbook21/2mb/textmode/grub/config
new file mode 100644
index 00000000..5170a90a
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/textmode/grub/config
@@ -0,0 +1 @@
+CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2"
diff --git a/projects/coreboot/configs/macbook21/2mb/textmode/seabios/config b/projects/coreboot/configs/macbook21/2mb/textmode/seabios/config
new file mode 100644
index 00000000..a3c13aff
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/textmode/seabios/config
@@ -0,0 +1 @@
+CONFIG_PAYLOAD_FILE="$(obj)/../seabios/bios.bin.elf"
diff --git a/projects/coreboot/configs/macbook21/2mb/textmode/targets b/projects/coreboot/configs/macbook21/2mb/textmode/targets
new file mode 100644
index 00000000..f2cba0e5
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/2mb/textmode/targets
@@ -0,0 +1,2 @@
+grub
+seabios