Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/79094?usp=email )
Change subject: nb/amd/pi/00730F01: drop leftover family10_northbridge PCI driver
......................................................................
nb/amd/pi/00730F01: drop leftover family10_northbridge PCI driver
This is likely a copy-paste leftover, since this SoC neither has a PCI
device with the device ID 0x1200 nor is family 10h.
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
Change-Id: I7095f208a7503545ea012241d058692a510109f3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79094
Reviewed-by: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/northbridge/amd/pi/00730F01/northbridge.c
1 file changed, 0 insertions(+), 6 deletions(-)
Approvals:
build bot (Jenkins): Verified
Matt DeVillier: Looks good to me, approved
diff --git a/src/northbridge/amd/pi/00730F01/northbridge.c b/src/northbridge/amd/pi/00730F01/northbridge.c
index 3ac94e5..be4e75a 100644
--- a/src/northbridge/amd/pi/00730F01/northbridge.c
+++ b/src/northbridge/amd/pi/00730F01/northbridge.c
@@ -649,12 +649,6 @@
.device = PCI_DID_AMD_16H_MODEL_303F_NB_HT,
};
-static const struct pci_driver family10_northbridge __pci_driver = {
- .ops = &northbridge_operations,
- .vendor = PCI_VID_AMD,
- .device = PCI_DID_AMD_10H_NB_HT,
-};
-
static void fam16_finalize(void *chip_info)
{
struct device *dev;
--
To view, visit https://review.coreboot.org/c/coreboot/+/79094?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I7095f208a7503545ea012241d058692a510109f3
Gerrit-Change-Number: 79094
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Attention is currently required from: Felix Held.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/79094?usp=email )
Change subject: nb/amd/pi/00730F01: drop leftover family10_northbridge PCI driver
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/79094?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I7095f208a7503545ea012241d058692a510109f3
Gerrit-Change-Number: 79094
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Fri, 01 Dec 2023 00:05:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Benjamin Doron, Martin L Roth, Patrick Rudolph, Simon Glass.
Maximilian Brune has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78913?usp=email )
Change subject: payloads: Add uefistub payload
......................................................................
Patch Set 4:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/78913/comment/d7b6c175_e5f427c9 :
PS4, Line 7: payloads: Add uefistub payload
Add u-boot reference, since it is mostly their effort.
Patchset:
PS4:
> Why do we need to pull pieces out of U-Boot to achieve this? It doesn't seem a very friendly approach to me...particularly as the files do not seem to reference U-Bot as the source. But even if they do, this seems like a fork to me.
I can't believe I forgot to include the reference (u-boot) into the commit-msg. Sorry about that. I will fix that.
> I believe it would make more sense for coreboot to embrace U-Boot as a first-class coreboot payload, rather than always trying to use something else.
It may help to know how the original motivation of creating the uefistub:
I needed to get ACPI (and SMBIOS) to Linuxboot. Thats it.
The obvious solution was to get the Linux Kernel to accept something else than UEFI to transfer the ACPI tables on arm64. This proved difficult. I am hoping that universal payload will take care of that problem in the future.
Solution number two was to use u-boot for that. I worked on that for a few weeks (implemented 64 bit SMBIOS in u-boot, added an arm64 coreboot platform to u-boot and a few other things). I found myself debugging u-boot problems for weeks and considering that I only wanted u-boot because of ACPI it proved to be overkill for my actual problem. U-boot just didn't fit my use case. Don' get me wrong I like u-boots UEFI implementation, but it just didn't fit my use case. Ideally I would have liked the UEFI implementation of u-boot to be something seperate to u-boot itself (like this payload is and like efistub of Linux more or less is).
Solution number three was to write a minimal uefistub that does what is necessary so it is compliant to LBBR. Being compliant to the UEFI spec is not the goal of this payload (it is completely overkill). I wanted to keep it small, simple and maintainable. I also wanted to seperate the UEFI implementation from coreboot (which is why it is a payload). It was actually a cool experiment to see how much Linux actually relies on UEFI. uefistub is not a fork of u-boot. It is just splitting u-boot and its UEFI implementation and keep that to a minimum.
In the end everyone can decide for themselves to use either u-boot or this uefistub. I am not forcing anyone to use this payload. Using u-boot as coreboot payload is still desired for most use cases (just not for mine).
An alternative approach was I think proposed by Ilias Apalodimas at OSFC:
Create a library that takes care of all the UEFI specific stuff. That could then be leveraged by multiple projects like u-boot or this coreboot payload. I am actually in big favour of this, because I would really like to see coreboot, u-boot and other open source firmware projects to share more code. That would also create some more flexibility for different use cases. I just didn't have yet the time to work on that.
That reminds me: OpenSBI is actually a nice example on how to share code, because you can either use it as library or standalone binary and it basically only accomplishes a very specific task (the SBI interface). I would like to see something similar to that for UEFI interfaces.
--
To view, visit https://review.coreboot.org/c/coreboot/+/78913?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I4093378e89c3cb43fb0846666de80a7da36b03f1
Gerrit-Change-Number: 78913
Gerrit-PatchSet: 4
Gerrit-Owner: Maximilian Brune <maximilian.brune(a)9elements.com>
Gerrit-Reviewer: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Reviewer: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: David Milosevic <David.Milosevic(a)9elements.com>
Gerrit-CC: Felix Singer <service+coreboot-gerrit(a)felixsinger.de>
Gerrit-CC: Lean Sheng Tan <sheng.tan(a)9elements.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-CC: Simon Glass <sjg(a)chromium.org>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Benjamin Doron <benjamin.doron00(a)gmail.com>
Gerrit-Attention: Simon Glass <sjg(a)chromium.org>
Gerrit-Comment-Date: Fri, 01 Dec 2023 00:02:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Simon Glass <sjg(a)chromium.org>
Gerrit-MessageType: comment