From b6275cd3bd546b5138c260a30701bb8fb51c2031 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Tue, 16 Oct 2018 23:06:45 -0400 Subject: Create 2mb,16mb Coreboot configs/targets for X60 These configurations will be read and supplied to make as command-line arguments and override those defined in the config at projects/coreboot/configs/x60/config The 16mb target is included as an example. X60 Coreboot ROMs can be built with, e.g.: './libreboot build coreboot x60 corebootfb 2mb' --- projects/coreboot/configs/x60/corebootfb/16mb/config | 5 +++++ projects/coreboot/configs/x60/corebootfb/2mb/config | 4 ++++ projects/coreboot/configs/x60/corebootfb/targets | 2 ++ projects/coreboot/configs/x60/textmode/16mb/config | 5 +++++ projects/coreboot/configs/x60/textmode/2mb/config | 4 ++++ projects/coreboot/configs/x60/textmode/targets | 2 ++ 6 files changed, 22 insertions(+) create mode 100644 projects/coreboot/configs/x60/corebootfb/16mb/config create mode 100644 projects/coreboot/configs/x60/corebootfb/2mb/config create mode 100644 projects/coreboot/configs/x60/corebootfb/targets create mode 100644 projects/coreboot/configs/x60/textmode/16mb/config create mode 100644 projects/coreboot/configs/x60/textmode/2mb/config create mode 100644 projects/coreboot/configs/x60/textmode/targets (limited to 'projects/coreboot') diff --git a/projects/coreboot/configs/x60/corebootfb/16mb/config b/projects/coreboot/configs/x60/corebootfb/16mb/config new file mode 100644 index 00000000..a4cf5cf7 --- /dev/null +++ b/projects/coreboot/configs/x60/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/x60/corebootfb/2mb/config b/projects/coreboot/configs/x60/corebootfb/2mb/config new file mode 100644 index 00000000..adffe7ae --- /dev/null +++ b/projects/coreboot/configs/x60/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/x60/corebootfb/targets b/projects/coreboot/configs/x60/corebootfb/targets new file mode 100644 index 00000000..b22e49ab --- /dev/null +++ b/projects/coreboot/configs/x60/corebootfb/targets @@ -0,0 +1,2 @@ +16mb +2mb diff --git a/projects/coreboot/configs/x60/textmode/16mb/config b/projects/coreboot/configs/x60/textmode/16mb/config new file mode 100644 index 00000000..a4cf5cf7 --- /dev/null +++ b/projects/coreboot/configs/x60/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/x60/textmode/2mb/config b/projects/coreboot/configs/x60/textmode/2mb/config new file mode 100644 index 00000000..adffe7ae --- /dev/null +++ b/projects/coreboot/configs/x60/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/x60/textmode/targets b/projects/coreboot/configs/x60/textmode/targets new file mode 100644 index 00000000..b22e49ab --- /dev/null +++ b/projects/coreboot/configs/x60/textmode/targets @@ -0,0 +1,2 @@ +16mb +2mb -- cgit v1.2.3-70-g09d2