From 0ad8fecb74e34d02ffc971815e96a6d7d3845553 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Mon, 14 Jan 2019 21:02:54 -0500 Subject: Restructure KCMA-D8 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/kcma-d8/16mb/config | 5 +++++ projects/coreboot/configs/kcma-d8/16mb/targets | 1 + projects/coreboot/configs/kcma-d8/16mb/textmode/grub/config | 1 + projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/config | 1 + projects/coreboot/configs/kcma-d8/16mb/textmode/targets | 2 ++ projects/coreboot/configs/kcma-d8/2mb/config | 4 ++++ projects/coreboot/configs/kcma-d8/2mb/targets | 1 + projects/coreboot/configs/kcma-d8/2mb/textmode/grub/config | 1 + projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/config | 1 + projects/coreboot/configs/kcma-d8/2mb/textmode/targets | 2 ++ projects/coreboot/configs/kcma-d8/targets | 3 ++- projects/coreboot/configs/kcma-d8/textmode/16mb/config | 5 ----- projects/coreboot/configs/kcma-d8/textmode/16mb/grub/config | 1 - projects/coreboot/configs/kcma-d8/textmode/16mb/seabios/config | 1 - projects/coreboot/configs/kcma-d8/textmode/16mb/targets | 2 -- projects/coreboot/configs/kcma-d8/textmode/2mb/config | 4 ---- projects/coreboot/configs/kcma-d8/textmode/2mb/grub/config | 1 - projects/coreboot/configs/kcma-d8/textmode/2mb/seabios/config | 1 - projects/coreboot/configs/kcma-d8/textmode/2mb/targets | 2 -- projects/coreboot/configs/kcma-d8/textmode/targets | 2 -- 20 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 projects/coreboot/configs/kcma-d8/16mb/config create mode 100644 projects/coreboot/configs/kcma-d8/16mb/targets create mode 100644 projects/coreboot/configs/kcma-d8/16mb/textmode/grub/config create mode 100644 projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/config create mode 100644 projects/coreboot/configs/kcma-d8/16mb/textmode/targets create mode 100644 projects/coreboot/configs/kcma-d8/2mb/config create mode 100644 projects/coreboot/configs/kcma-d8/2mb/targets create mode 100644 projects/coreboot/configs/kcma-d8/2mb/textmode/grub/config create mode 100644 projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/config create mode 100644 projects/coreboot/configs/kcma-d8/2mb/textmode/targets delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/16mb/config delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/16mb/grub/config delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/16mb/seabios/config delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/16mb/targets delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/2mb/config delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/2mb/grub/config delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/2mb/seabios/config delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/2mb/targets delete mode 100644 projects/coreboot/configs/kcma-d8/textmode/targets diff --git a/projects/coreboot/configs/kcma-d8/16mb/config b/projects/coreboot/configs/kcma-d8/16mb/config new file mode 100644 index 00000000..a4cf5cf7 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/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/kcma-d8/16mb/targets b/projects/coreboot/configs/kcma-d8/16mb/targets new file mode 100644 index 00000000..3ee846a9 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/16mb/targets @@ -0,0 +1 @@ +textmode diff --git a/projects/coreboot/configs/kcma-d8/16mb/textmode/grub/config b/projects/coreboot/configs/kcma-d8/16mb/textmode/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/16mb/textmode/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/config b/projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/config new file mode 100644 index 00000000..a3c13aff --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/16mb/textmode/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios/bios.bin.elf" diff --git a/projects/coreboot/configs/kcma-d8/16mb/textmode/targets b/projects/coreboot/configs/kcma-d8/16mb/textmode/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/16mb/textmode/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/kcma-d8/2mb/config b/projects/coreboot/configs/kcma-d8/2mb/config new file mode 100644 index 00000000..adffe7ae --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/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/kcma-d8/2mb/targets b/projects/coreboot/configs/kcma-d8/2mb/targets new file mode 100644 index 00000000..3ee846a9 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/2mb/targets @@ -0,0 +1 @@ +textmode diff --git a/projects/coreboot/configs/kcma-d8/2mb/textmode/grub/config b/projects/coreboot/configs/kcma-d8/2mb/textmode/grub/config new file mode 100644 index 00000000..5170a90a --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/2mb/textmode/grub/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/config b/projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/config new file mode 100644 index 00000000..a3c13aff --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/2mb/textmode/seabios/config @@ -0,0 +1 @@ +CONFIG_PAYLOAD_FILE="$(obj)/../seabios/bios.bin.elf" diff --git a/projects/coreboot/configs/kcma-d8/2mb/textmode/targets b/projects/coreboot/configs/kcma-d8/2mb/textmode/targets new file mode 100644 index 00000000..f2cba0e5 --- /dev/null +++ b/projects/coreboot/configs/kcma-d8/2mb/textmode/targets @@ -0,0 +1,2 @@ +grub +seabios diff --git a/projects/coreboot/configs/kcma-d8/targets b/projects/coreboot/configs/kcma-d8/targets index 3ee846a9..b22e49ab 100644 --- a/projects/coreboot/configs/kcma-d8/targets +++ b/projects/coreboot/configs/kcma-d8/targets @@ -1 +1,2 @@ -textmode +16mb +2mb diff --git a/projects/coreboot/configs/kcma-d8/textmode/16mb/config b/projects/coreboot/configs/kcma-d8/textmode/16mb/config deleted file mode 100644 index a4cf5cf7..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/16mb/config +++ /dev/null @@ -1,5 +0,0 @@ -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/kcma-d8/textmode/16mb/grub/config b/projects/coreboot/configs/kcma-d8/textmode/16mb/grub/config deleted file mode 100644 index 5170a90a..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/16mb/grub/config +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kcma-d8/textmode/16mb/seabios/config b/projects/coreboot/configs/kcma-d8/textmode/16mb/seabios/config deleted file mode 100644 index a3c13aff..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/16mb/seabios/config +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PAYLOAD_FILE="$(obj)/../seabios/bios.bin.elf" diff --git a/projects/coreboot/configs/kcma-d8/textmode/16mb/targets b/projects/coreboot/configs/kcma-d8/textmode/16mb/targets deleted file mode 100644 index f2cba0e5..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/16mb/targets +++ /dev/null @@ -1,2 +0,0 @@ -grub -seabios diff --git a/projects/coreboot/configs/kcma-d8/textmode/2mb/config b/projects/coreboot/configs/kcma-d8/textmode/2mb/config deleted file mode 100644 index adffe7ae..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/2mb/config +++ /dev/null @@ -1,4 +0,0 @@ -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/kcma-d8/textmode/2mb/grub/config b/projects/coreboot/configs/kcma-d8/textmode/2mb/grub/config deleted file mode 100644 index 5170a90a..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/2mb/grub/config +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PAYLOAD_FILE="$(obj)/../grub-coreboot/grub2" diff --git a/projects/coreboot/configs/kcma-d8/textmode/2mb/seabios/config b/projects/coreboot/configs/kcma-d8/textmode/2mb/seabios/config deleted file mode 100644 index a3c13aff..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/2mb/seabios/config +++ /dev/null @@ -1 +0,0 @@ -CONFIG_PAYLOAD_FILE="$(obj)/../seabios/bios.bin.elf" diff --git a/projects/coreboot/configs/kcma-d8/textmode/2mb/targets b/projects/coreboot/configs/kcma-d8/textmode/2mb/targets deleted file mode 100644 index f2cba0e5..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/2mb/targets +++ /dev/null @@ -1,2 +0,0 @@ -grub -seabios diff --git a/projects/coreboot/configs/kcma-d8/textmode/targets b/projects/coreboot/configs/kcma-d8/textmode/targets deleted file mode 100644 index b22e49ab..00000000 --- a/projects/coreboot/configs/kcma-d8/textmode/targets +++ /dev/null @@ -1,2 +0,0 @@ -16mb -2mb -- cgit v1.2.3-70-g09d2