From eda40e7561c1fa8fa45e18010b347f82f123e16b Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Mon, 14 Jan 2019 21:31:34 -0500 Subject: 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. --- projects/coreboot/configs/macbook21/2mb/config | 4 ++++ projects/coreboot/configs/macbook21/2mb/corebootfb/config | 3 +++ projects/coreboot/configs/macbook21/2mb/corebootfb/grub/config | 1 + projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/config | 1 + projects/coreboot/configs/macbook21/2mb/corebootfb/targets | 2 ++ projects/coreboot/configs/macbook21/2mb/targets | 2 ++ projects/coreboot/configs/macbook21/2mb/textmode/config | 1 + projects/coreboot/configs/macbook21/2mb/textmode/grub/config | 1 + projects/coreboot/configs/macbook21/2mb/textmode/seabios/config | 1 + projects/coreboot/configs/macbook21/2mb/textmode/targets | 2 ++ 10 files changed, 18 insertions(+) create mode 100644 projects/coreboot/configs/macbook21/2mb/config create mode 100644 projects/coreboot/configs/macbook21/2mb/corebootfb/config create mode 100644 projects/coreboot/configs/macbook21/2mb/corebootfb/grub/config create mode 100644 projects/coreboot/configs/macbook21/2mb/corebootfb/seabios/config create mode 100644 projects/coreboot/configs/macbook21/2mb/corebootfb/targets create mode 100644 projects/coreboot/configs/macbook21/2mb/targets create mode 100644 projects/coreboot/configs/macbook21/2mb/textmode/config create mode 100644 projects/coreboot/configs/macbook21/2mb/textmode/grub/config create mode 100644 projects/coreboot/configs/macbook21/2mb/textmode/seabios/config create mode 100644 projects/coreboot/configs/macbook21/2mb/textmode/targets (limited to 'projects/coreboot/configs/macbook21/2mb') 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 -- cgit v1.2.3-70-g09d2