Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13375
-gerrit
commit 2b7b47b8c735e91b4ddb7a31dc3ad2ccac98d7aa
Author: Lance Zhao <lijian.zhao(a)intel.com>
Date: Mon Nov 16 18:13:23 2015 -0800
soc/apollolake/acpi: Fill ACPI MCFG table
ACPI MCFG table is required for OS to support Enhanced Configuration Space
Access.Apollolake will only support 1 PCI Segment Group, so all the pci bus
number from 0 to 0xff will belong to that group.
Change-Id: I3a680eb9c83290cd531159d7e796382a132cd283
Signed-off-by: Lance Zhao <lijian.zhao(a)intel.com>
---
src/soc/intel/apollolake/acpi.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c
index 16acd0f..9939408 100644
--- a/src/soc/intel/apollolake/acpi.c
+++ b/src/soc/intel/apollolake/acpi.c
@@ -20,6 +20,10 @@
unsigned long acpi_fill_mcfg(unsigned long current)
{
+ /* PCI Segment Group 0, Start Bus Number 0, End Bus Number is 255 */
+ current += acpi_create_mcfg_mmconfig((void *) current,
+ CONFIG_MMCONF_BASE_ADDRESS, 0, 0,
+ 255);
return current;
}
Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13370
-gerrit
commit 5252c1d7c36cd2500e42bd6322e257fb3055698b
Author: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
Date: Tue Dec 1 16:41:02 2015 -0800
drivers/intel/fsp2_0: Print address of FspMemoryInit entry point
Through an oversight, the address of fsp_memory_init was printed,
which is a coreboot function. the intention is to print the address
of the fsp_raminit pointer, which is the entry point into FSP memory
init.
Change-Id: I95904279fc148319033281d45b681ad427e03130
Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
---
src/drivers/intel/fsp2_0/memory_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/drivers/intel/fsp2_0/memory_init.c b/src/drivers/intel/fsp2_0/memory_init.c
index 4ac720d..e9d6e42 100644
--- a/src/drivers/intel/fsp2_0/memory_init.c
+++ b/src/drivers/intel/fsp2_0/memory_init.c
@@ -88,7 +88,7 @@ static enum fsp_status do_fsp_memory_init(void **hob_list_ptr,
/* Call FspMemoryInit */
fsp_raminit = (void *)(hdr->image_base + hdr->memory_init_entry_offset);
- printk(BIOS_DEBUG, "Calling FspMemoryInit: 0x%p\n", fsp_memory_init);
+ printk(BIOS_DEBUG, "Calling FspMemoryInit: 0x%p\n", fsp_raminit);
printk(BIOS_SPEW, "\t%p: nvs_buffer\n", raminit_params.nvs_buffer);
printk(BIOS_SPEW, "\t%p: rt_buffer\n", raminit_params.rt_buffer);
printk(BIOS_SPEW, "\t%p: hob_list\n", raminit_params.hob_list);
Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13369
-gerrit
commit 473c472b8ab01925814e9e37cb9744b2705966e8
Author: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
Date: Wed Nov 25 14:59:37 2015 -0800
intel/apollolake_rvp: Add GPIO configuration for UART2 pads
UART2 is the main debugging interface. Older FSP versions configured
the TX and RX pads, but that is no longer the case. We now need to
configure the pads in coreboot.
This fixes an issue where serial input would no longer work with newer
FSP versions.
Change-Id: I9c2354720bf428439b7262b32ce1ea5c9eddbdfb
Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
---
src/mainboard/intel/apollolake_rvp/Makefile.inc | 2 +-
src/mainboard/intel/apollolake_rvp/mainboard.c | 29 +++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/intel/apollolake_rvp/Makefile.inc b/src/mainboard/intel/apollolake_rvp/Makefile.inc
index a48936e..f3c87b2 100755
--- a/src/mainboard/intel/apollolake_rvp/Makefile.inc
+++ b/src/mainboard/intel/apollolake_rvp/Makefile.inc
@@ -1 +1 @@
-# Nothing yet here
+ramstage-y += mainboard.c
diff --git a/src/mainboard/intel/apollolake_rvp/mainboard.c b/src/mainboard/intel/apollolake_rvp/mainboard.c
new file mode 100644
index 0000000..3ed3d8f
--- /dev/null
+++ b/src/mainboard/intel/apollolake_rvp/mainboard.c
@@ -0,0 +1,29 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2015 Intel Corp.
+ * (Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com> for Intel Corp.)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#include <device/device.h>
+#include <soc/gpio.h>
+
+/* TODO: Move GPIO config to its own file once we get more GPIOs in the list */
+static const struct pad_config aplk_rvp_gpios[] = {
+ PAD_CFG_NF(GPIO_46, NATIVE, DEEP, NF1), /* UART2 RX*/
+ PAD_CFG_NF(GPIO_47, NATIVE, DEEP, NF1), /* UART2 TX*/
+};
+
+static void mainboard_enable(struct device *dev)
+{
+ gpio_configure_pads(aplk_rvp_gpios, ARRAY_SIZE(aplk_rvp_gpios));
+}
+
+struct chip_operations mainboard_ops = {
+ .enable_dev = mainboard_enable,
+};