aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-10-18 22:41:47 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2018-10-18 22:46:36 -0400
commitbd8f382af23d237113338d0a504e451ef06a3a61 (patch)
treeb6f502032090d81deeaceda612e6cbaf0008eef1 /projects
parent766d9cc35cacf6d9ca1dc5a7ad3265c12e1ae248 (diff)
downloadlibrebootfr-bd8f382af23d237113338d0a504e451ef06a3a61.tar.gz
librebootfr-bd8f382af23d237113338d0a504e451ef06a3a61.zip
Create 2mb,16mb Coreboot configs/targets for Macbook2,1
The 16mb target is included as an example. Macbook2,1 Coreboot ROMs can be built with, e.g.: './libreboot build coreboot macbook21 corebootfb 2mb'
Diffstat (limited to 'projects')
-rw-r--r--projects/coreboot/configs/macbook21/corebootfb/16mb/config5
-rw-r--r--projects/coreboot/configs/macbook21/corebootfb/2mb/config4
-rw-r--r--projects/coreboot/configs/macbook21/corebootfb/targets2
-rw-r--r--projects/coreboot/configs/macbook21/textmode/16mb/config5
-rw-r--r--projects/coreboot/configs/macbook21/textmode/2mb/config4
-rw-r--r--projects/coreboot/configs/macbook21/textmode/targets2
6 files changed, 22 insertions, 0 deletions
diff --git a/projects/coreboot/configs/macbook21/corebootfb/16mb/config b/projects/coreboot/configs/macbook21/corebootfb/16mb/config
new file mode 100644
index 00000000..a4cf5cf7
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/corebootfb/16mb/config
@@ -0,0 +1,5 @@
+CONFIG_CBFS_SIZE=0x1000000
+CONFIG_COREBOOT_ROMSIZE_KB_2048=n
+CONFIG_COREBOOT_ROMSIZE_KB_16384=y
+CONFIG_COREBOOT_ROMSIZE_KB=16384
+CONFIG_ROM_SIZE=0x1000000
diff --git a/projects/coreboot/configs/macbook21/corebootfb/2mb/config b/projects/coreboot/configs/macbook21/corebootfb/2mb/config
new file mode 100644
index 00000000..adffe7ae
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/corebootfb/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/corebootfb/targets b/projects/coreboot/configs/macbook21/corebootfb/targets
new file mode 100644
index 00000000..b22e49ab
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/corebootfb/targets
@@ -0,0 +1,2 @@
+16mb
+2mb
diff --git a/projects/coreboot/configs/macbook21/textmode/16mb/config b/projects/coreboot/configs/macbook21/textmode/16mb/config
new file mode 100644
index 00000000..a4cf5cf7
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/textmode/16mb/config
@@ -0,0 +1,5 @@
+CONFIG_CBFS_SIZE=0x1000000
+CONFIG_COREBOOT_ROMSIZE_KB_2048=n
+CONFIG_COREBOOT_ROMSIZE_KB_16384=y
+CONFIG_COREBOOT_ROMSIZE_KB=16384
+CONFIG_ROM_SIZE=0x1000000
diff --git a/projects/coreboot/configs/macbook21/textmode/2mb/config b/projects/coreboot/configs/macbook21/textmode/2mb/config
new file mode 100644
index 00000000..adffe7ae
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/textmode/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/textmode/targets b/projects/coreboot/configs/macbook21/textmode/targets
new file mode 100644
index 00000000..b22e49ab
--- /dev/null
+++ b/projects/coreboot/configs/macbook21/textmode/targets
@@ -0,0 +1,2 @@
+16mb
+2mb