From b87eeca4559e7cd94af1ad4273d082b4f3ecba8b Mon Sep 17 00:00:00 2001
From: Andrew Robbins <contact@andrewrobbins.info>
Date: Mon, 29 Oct 2018 23:43:34 -0400
Subject: Create 4,16MiB Coreboot configs/targets for Veyron Jerry

4MiB flash is the default for this board. A 16MiB config is
included for those looking to modify their board with a larger flash
chip.

Also, corebootfb is the only display mode available for this board;
as such, inclusion of the corebootfb subtarget serves only to
explicitly indicate the display mode when packaging ROMs upon
release.

Veyron Jerry Coreboot ROMs can be built with, e.g.:
'./libreboot build coreboot veyron jerry corebootfb 4mb'
---
 projects/coreboot/configs/veyron/jerry/corebootfb/16mb/config | 5 +++++
 projects/coreboot/configs/veyron/jerry/corebootfb/4mb/config  | 4 ++++
 projects/coreboot/configs/veyron/jerry/corebootfb/targets     | 2 ++
 projects/coreboot/configs/veyron/jerry/targets                | 1 +
 4 files changed, 12 insertions(+)
 create mode 100644 projects/coreboot/configs/veyron/jerry/corebootfb/16mb/config
 create mode 100644 projects/coreboot/configs/veyron/jerry/corebootfb/4mb/config
 create mode 100644 projects/coreboot/configs/veyron/jerry/corebootfb/targets
 create mode 100644 projects/coreboot/configs/veyron/jerry/targets

(limited to 'projects/coreboot/configs')

diff --git a/projects/coreboot/configs/veyron/jerry/corebootfb/16mb/config b/projects/coreboot/configs/veyron/jerry/corebootfb/16mb/config
new file mode 100644
index 00000000..d3e3b7aa
--- /dev/null
+++ b/projects/coreboot/configs/veyron/jerry/corebootfb/16mb/config
@@ -0,0 +1,5 @@
+CONFIG_CBFS_SIZE=0x1000000
+CONFIG_COREBOOT_ROMSIZE_KB_4096=n
+CONFIG_COREBOOT_ROMSIZE_KB_16384=y
+CONFIG_COREBOOT_ROMSIZE_KB=16384
+CONFIG_ROM_SIZE=0x1000000
diff --git a/projects/coreboot/configs/veyron/jerry/corebootfb/4mb/config b/projects/coreboot/configs/veyron/jerry/corebootfb/4mb/config
new file mode 100644
index 00000000..f8445518
--- /dev/null
+++ b/projects/coreboot/configs/veyron/jerry/corebootfb/4mb/config
@@ -0,0 +1,4 @@
+CONFIG_CBFS_SIZE=0x400000
+CONFIG_COREBOOT_ROMSIZE_KB_4096=y
+CONFIG_COREBOOT_ROMSIZE_KB=4096
+CONFIG_ROM_SIZE=0x400000
diff --git a/projects/coreboot/configs/veyron/jerry/corebootfb/targets b/projects/coreboot/configs/veyron/jerry/corebootfb/targets
new file mode 100644
index 00000000..0169dcf0
--- /dev/null
+++ b/projects/coreboot/configs/veyron/jerry/corebootfb/targets
@@ -0,0 +1,2 @@
+16mb
+4mb
diff --git a/projects/coreboot/configs/veyron/jerry/targets b/projects/coreboot/configs/veyron/jerry/targets
new file mode 100644
index 00000000..ffc50041
--- /dev/null
+++ b/projects/coreboot/configs/veyron/jerry/targets
@@ -0,0 +1 @@
+corebootfb
-- 
cgit v1.2.3-70-g09d2