nsekar(a)codeaurora.org has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32063
Change subject: Mistral: Enable USB in romstage
......................................................................
Mistral: Enable USB in romstage
Enable USB support for mistral in romstage.
TEST=build & run
Change-Id: I5c2bbe16aa3601e014a2b77d192565402ed23794
Signed-off-by: Nitheesh Sekar <nsekar(a)codeaurora.org>
---
M src/mainboard/google/mistral/Makefile.inc
M src/mainboard/google/mistral/mainboard.c
A src/mainboard/google/mistral/romstage.c
3 files changed, 48 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/32063/1
diff --git a/src/mainboard/google/mistral/Makefile.inc b/src/mainboard/google/mistral/Makefile.inc
index dfb0bbc..2cb9631 100644
--- a/src/mainboard/google/mistral/Makefile.inc
+++ b/src/mainboard/google/mistral/Makefile.inc
@@ -11,6 +11,7 @@
romstage-y += memlayout.ld
romstage-y += chromeos.c
romstage-y += reset.c
+romstage-y += romstage.c
ramstage-y += memlayout.ld
ramstage-y += chromeos.c
diff --git a/src/mainboard/google/mistral/mainboard.c b/src/mainboard/google/mistral/mainboard.c
index b45657f..1d62adb 100644
--- a/src/mainboard/google/mistral/mainboard.c
+++ b/src/mainboard/google/mistral/mainboard.c
@@ -17,6 +17,20 @@
#include <bootblock_common.h>
#include <timestamp.h>
#include <vendorcode/google/chromeos/chromeos.h>
+#include <soc/usb.h>
+
+static struct usb_board_data usb1_board_data = {
+ .parameter_override_x0 = 0x63,
+ .parameter_override_x1 = 0x03,
+ .parameter_override_x0 = 0x1d,
+ .parameter_override_x1 = 0x03,
+};
+
+static void setup_usb(void)
+{
+ /* Setting Secondary usb controller */
+ setup_usb_host(HSUSB_HS_PORT_1, &usb1_board_data);
+}
static void mainboard_init(struct device *dev)
{
@@ -24,6 +38,8 @@
/* Copy WIFI calibration data into CBMEM. */
cbmem_add_vpd_calibration_data();
}
+
+ setup_usb();
}
static void mainboard_enable(struct device *dev)
diff --git a/src/mainboard/google/mistral/romstage.c b/src/mainboard/google/mistral/romstage.c
new file mode 100644
index 0000000..41ee4ed
--- /dev/null
+++ b/src/mainboard/google/mistral/romstage.c
@@ -0,0 +1,31 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2018, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include <arch/stages.h>
+#include <soc/usb.h>
+
+static void prepare_usb(void)
+{
+ /*
+ * Do DWC3 core and phy reset. Kick these resets off early
+ * so they get atleast 1msec to settle.
+ */
+ reset_usb(HSUSB_HS_PORT_1);
+}
+
+void platform_romstage_main(void)
+{
+ prepare_usb();
+}
--
To view, visit https://review.coreboot.org/c/coreboot/+/32063
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5c2bbe16aa3601e014a2b77d192565402ed23794
Gerrit-Change-Number: 32063
Gerrit-PatchSet: 1
Gerrit-Owner: nsekar(a)codeaurora.org
Gerrit-MessageType: newchange
Martin L Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/71590 )
Change subject: Documentation/releases: Start getting ready for the 4.19 release
......................................................................
Documentation/releases: Start getting ready for the 4.19 release
Signed-off-by: Martin Roth <gaumless(a)gmail.com>
Change-Id: I3edbf3ebc74ebae5896196b43dd5be014f27a0ec
---
M Documentation/releases/coreboot-4.19-relnotes.md
1 file changed, 137 insertions(+), 13 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/71590/1
diff --git a/Documentation/releases/coreboot-4.19-relnotes.md b/Documentation/releases/coreboot-4.19-relnotes.md
index 20b052e..0ebd08f 100644
--- a/Documentation/releases/coreboot-4.19-relnotes.md
+++ b/Documentation/releases/coreboot-4.19-relnotes.md
@@ -1,7 +1,20 @@
Upcoming release - coreboot 4.19
========================================================================
-The 4.19 release is planned for January 2023.
+The 4.19 release is planned for the 15th of January 2023.
+
+Since the last release, the coreboot project has merged almost 1500
+commits from over 150 authors. Of those authors, more than 20 were
+first-time committers to the coreboot project.
+
+As always, we are very grateful to all of the contributors for helping
+to keep the project going. The coreboot project is different from many
+open source projects in that we need to keep constantly updating the
+codebase to stay relevent with the latest processors and technologies.
+It takes constant effort to just stay afloat, let alone improve the
+codebase. Thank you very much to everyone who has contributed, both
+in this release and in previous times.
+
Update this document with changes that should be in the release notes.
@@ -12,17 +25,102 @@
* Note that all changes before the release are done are marked upcoming.
A final version of the notes are done after the release.
-Significant changes
--------------------
+Significant or interesting changes
+----------------------------------
-### Add significant changes here
+### Show all Kconfig options in saved config file, compress it
+The coreboot build system automatically adds a 'config' file to CBFS
+that lists the exact Kconfig configuration that the image was built
+with. This is useful to reproduce a build after the fact or to check
+whether support for a specific feature is enabled in the image.
+
+This file has been generated using the 'savedefconfig' Kconfig command,
+which generates the minimal .config file that is needed to produce the
+required config in a coreboot build. This is fine for reproduction, but
+bad when you want to check if a certain config was enabled, since many
+optoins get enabled by default or pulled in through another option's
+'select' statement and thus don't show up in the defconfig.
+
+Instead coreboot now includes a larger .config instead. In order to save
+some space, all of the comments disabling options are removed from the
+file, except for those included in the defconfig.
+
+We can also LZMA compress the filevsince it is never read by firmware
+itself and only intended for later re-extraction via cbfstool, which
+always has LZMA support included. Additional coreboot changes
Additional coreboot changes
---------------------------
-* One or two line change comments go here
+* Significant work to enable and build-test clang builds
+
+
+
+New Mainboards
+--------------
+
+* AMD: Mayan for Morgana SoC
+* GIGABYTE: GA-H61M-DS2
+* Google: Crystaldrift
+* Google: Gladios
+* Google: Marasov
+* Google: Voltorb
+* Intel: Meteorlake-P RVP
+* Siemens: MC_EHL3
+* Star Labs: StarBook Mk VI (i3-1220P and i7-1260P)
+* System76: darp8
+* System76: galp6
+
+Removed Mainboards
+-------------------
+
+* AMD: Inagua
+* AMD: Olive Hill
+* AMD: Parmer
+* AMD: Persimmon
+* AMD: Southstation
+* AMD: Thatcher
+* AMD: Unionstation
+* ASROCK: E350M1
+* ASROCK: IMB-A180
+* ASUS: A88XM-E
+* ASUS: AM1I-A
+* ASUS: F2A85-M
+* ASUS: F2A85-M LE
+* ASUS: F2A85-M PRO
+* BAP: ODE_e20xx
+* Biostar: A68N-5200
+* Biostar: AM1ML
+* ELMEX: pcm205400
+* ELMEX: pcm205401
+* GizmoSphere: Gizmo
+* GizmoSphere: Gizmo2
+* HP: ABM
+* HP: Pavilion m6 1035dx
+* Jetway: NF81_T56N_LF
+* Lenovo: AMD G505s
+* LiPPERT: FrontRunner-AF aka ADLINK CoreModule2-GF
+* LiPPERT: Toucan-AF aka cExpress-GFR (+W83627DHG SIO)
+* MSI: MS-7721 (FM2-A75MA-E35)
+* PC Engines: APU1
+
+
+New SoCs
+-------------------
+
+* src/soc/amd/glinda
+* src/soc/intel/xeon_sp/lbg
+
+
+Removed processors
+-------------------
+
+* src/cpu/amd/agesa/family14
+* src/cpu/amd/agesa/family15tn
+* src/cpu/amd/agesa/family16kb
+
@@ -33,17 +131,15 @@
-Plans for Code Deprecation
---------------------------
-
+Plans to move platform support to a branch:
+-------------------------------------------
### Intel Icelake SoC & Icelake RVP mainboard
-Intel Icelake is unmaintained. Also, the only user of this platform ever
-was the Intel CRB (Customer Reference Board). From the looks of it the
-code was never ready for production as only engineering sample CPUIDs
-are supported. This reduces the maintanence overhead for the coreboot
-project.
+Intel Icelake is unmaintained and the only user of this platform ever
+was the Intel CRB (Customer Reference Board). From the looks of the
+code, it was never ready for production as only engineering sample
+CPUIDs are supported.
Intel Icelake code will be removed with release 4.19 and any maintenence
will be done on the 4.19 branch. This consists of the Intel Icelake SoC
@@ -62,3 +158,21 @@
* Intel Quark SoC
* Intel Galileo mainboard
+
+
+Statistics from the 4.18 to the 4.19 release
+--------------------------------------------
+
+- Total Commits: 1376
+- Average Commits per day: 18.24
+- Total lines added: 83954
+- Average lines added per commit: 61.01
+- Number of patches adding more than 100 lines: 69
+- Average lines added per small commit: 38.96
+- Total lines removed: 765520
+- Average lines removed per commit: 556.34
+- Total difference between added and removed: -681566
+
+
+Known Issues
+------------
--
To view, visit https://review.coreboot.org/c/coreboot/+/71590
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3edbf3ebc74ebae5896196b43dd5be014f27a0ec
Gerrit-Change-Number: 71590
Gerrit-PatchSet: 1
Gerrit-Owner: Martin L Roth <gaumless(a)gmail.com>
Gerrit-MessageType: newchange