summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Gagniuc <alexandrux.gagniuc@intel.com>2015-10-06 10:36:20 -0700
committerAaron Durbin <adurbin@chromium.org>2016-02-11 21:10:30 +0100
commit86f6a135a18d8de1c0a02f3c9b8ea2c505056312 (patch)
treecc91e072e92966a4f5317cb53597233bac4f10a5
parentdfc2b31517535c8a969fadeec4e18172201cf160 (diff)
downloadcoreboot-86f6a135a18d8de1c0a02f3c9b8ea2c505056312.tar.xz
mainboard/intel: Add skeleton for Apollolake RVP board family
RVP1 board comes with DDR3 SODIMMs and discrete VRs. RVP2 board uses LPDDR3 and PMIC. Change-Id: I3e47c157c49ad55ff1ba824672ac2630a64a6037 Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc@intel.com> Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/13298 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
-rw-r--r--src/mainboard/intel/apollolake_rvp/Kconfig20
-rw-r--r--src/mainboard/intel/apollolake_rvp/Kconfig.name5
-rw-r--r--src/mainboard/intel/apollolake_rvp/Makefile.inc1
-rw-r--r--src/mainboard/intel/apollolake_rvp/devicetree.cb9
-rw-r--r--src/mainboard/intel/apollolake_rvp/romstage.c1
5 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/intel/apollolake_rvp/Kconfig b/src/mainboard/intel/apollolake_rvp/Kconfig
new file mode 100644
index 0000000000..52d3777b35
--- /dev/null
+++ b/src/mainboard/intel/apollolake_rvp/Kconfig
@@ -0,0 +1,20 @@
+if BOARD_INTEL_APOLLOLAKE_RVP1 || BOARD_INTEL_APOLLOLAKE_RVP2
+
+config BOARD_SPECIFIC_OPTIONS
+ def_bool y
+ select SOC_INTEL_APOLLOLAKE
+ select BOARD_ROMSIZE_KB_8192
+
+config MAINBOARD_DIR
+ string
+ default intel/apollolake_rvp
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "Apollolake RVP"
+
+config MAINBOARD_VENDOR
+ string
+ default "Intel"
+
+endif
diff --git a/src/mainboard/intel/apollolake_rvp/Kconfig.name b/src/mainboard/intel/apollolake_rvp/Kconfig.name
new file mode 100644
index 0000000000..c0cbd5e40e
--- /dev/null
+++ b/src/mainboard/intel/apollolake_rvp/Kconfig.name
@@ -0,0 +1,5 @@
+config BOARD_INTEL_APOLLOLAKE_RVP1
+ bool "Apollolake DDR3 RVP1"
+
+config BOARD_INTEL_APOLLOLAKE_RVP2
+ bool "Apollolake LPDDR3 RVP2"
diff --git a/src/mainboard/intel/apollolake_rvp/Makefile.inc b/src/mainboard/intel/apollolake_rvp/Makefile.inc
new file mode 100644
index 0000000000..a48936e5da
--- /dev/null
+++ b/src/mainboard/intel/apollolake_rvp/Makefile.inc
@@ -0,0 +1 @@
+# Nothing yet here
diff --git a/src/mainboard/intel/apollolake_rvp/devicetree.cb b/src/mainboard/intel/apollolake_rvp/devicetree.cb
new file mode 100644
index 0000000000..d624bc0b9e
--- /dev/null
+++ b/src/mainboard/intel/apollolake_rvp/devicetree.cb
@@ -0,0 +1,9 @@
+chip soc/intel/apollolake
+
+ device cpu_cluster 0 on
+ device lapic 0 on end
+ end
+
+ device domain 0 on
+ end
+end
diff --git a/src/mainboard/intel/apollolake_rvp/romstage.c b/src/mainboard/intel/apollolake_rvp/romstage.c
new file mode 100644
index 0000000000..7cfef9f210
--- /dev/null
+++ b/src/mainboard/intel/apollolake_rvp/romstage.c
@@ -0,0 +1 @@
+/* Nothing here yet, but this file is needed by the build system */