Skip to contentSkip to conversation

x86: coreboot: Remove the dummy pch driver

PATCH New Bin Meng 3 participants 8 messages Jun 22, 2016 – Jun 29, 2016 x86

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c
arch/x86/cpu/coreboot/Makefile +0 -1
index b6e870a..d663656 100644
@@ -18,4 +18,3 @@ obj-y += coreboot.o
 obj-y += tables.o
 obj-y += sdram.o
 obj-y += timestamp.o
-obj-$(CONFIG_PCI) += pci.o
arch/x86/cpu/coreboot/pci.c deleted +0 -26
deleted file mode 100644
index 7f5087a..0000000
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2011 The Chromium OS Authors.
- * (C) Copyright 2008,2009
- * Graeme Russ, <[email protected]>
- *
- * (C) Copyright 2002
- * Daniel Engstr?m, Omicron Ceti AB, <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <dm.h>
-#include <pci.h>
-
-static const struct udevice_id generic_pch_ids[] = {
-	{ .compatible = "intel,pch7" },
-	{ .compatible = "intel,pch9" },
-	{ }
-};
-
-U_BOOT_DRIVER(generic_pch_drv) = {
-	.name		= "pch",
-	.id		= UCLASS_PCH,
-	.of_match	= generic_pch_ids,
-};
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

Hi Bin,

Quoted 11 lines · Bin Meng

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c

That was intended to support a PCH where U-Boot did not have to set it up (when booting from coreboot). Is it not needed now?

Regards,
Simon

author
#2 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

Hi Simon,

Quoted 10 lines · Simon Glass

Hi Bin,

Quoted 7 lines · Bin Meng

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

Quoted 8 lines
Quoted 4 lines
 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c

That was intended to support a PCH where U-Boot did not have to set it up (when booting from coreboot). Is it not needed now?

This is not needed now. The pch7 and pch7 driver are built for coreboot too so that they can be used.

Regards,
Bin

#3 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

Quoted 22 lines · Bin Meng

Hi Simon,

Quoted 10 lines · Simon Glass

Hi Bin,

Quoted 7 lines · Bin Meng

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

Quoted 8 lines
Quoted 4 lines
 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c

That was intended to support a PCH where U-Boot did not have to set it up (when booting from coreboot). Is it not needed now?

Quoted 5 lines

This is not needed now. The pch7 and pch7 driver are built for coreboot too so that they can be used.

Regards,
Bin

Thanks.

author
#4 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

Quoted 26 lines · Simon Glass
Quoted 25 lines · Bin Meng

Hi Simon,

Quoted 10 lines · Simon Glass

Hi Bin,

Quoted 7 lines · Bin Meng

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

Quoted 8 lines
Quoted 4 lines
 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c

That was intended to support a PCH where U-Boot did not have to set it up (when booting from coreboot). Is it not needed now?

This is not needed now. The pch7 and pch7 driver are built for coreboot too so that they can be used.

Quoted 6 lines
Quoted 2 lines

Regards,
Bin

Thanks.

Tom, will you apply this one directly for v2016.07 release?

Regards,
Bin

#5 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

Quoted 27 lines · Bin Meng
Quoted 26 lines · Simon Glass
Quoted 25 lines · Bin Meng

Hi Simon,

Quoted 10 lines · Simon Glass

Hi Bin,

Quoted 7 lines · Bin Meng

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

Quoted 8 lines
Quoted 4 lines
 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c

That was intended to support a PCH where U-Boot did not have to set it up (when booting from coreboot). Is it not needed now?

This is not needed now. The pch7 and pch7 driver are built for coreboot too so that they can be used.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Regards,
Bin

Thanks.

Tom, will you apply this one directly for v2016.07 release?

Make a PR for me please, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160628/24850089/attachment.sig>
author
#6 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

Hi Tom,

Quoted 31 lines · Tom Rini
Quoted 30 lines · Bin Meng
Quoted 29 lines · Simon Glass
Quoted 27 lines · Bin Meng

Hi Simon,

Quoted 10 lines · Simon Glass

Hi Bin,

Quoted 7 lines · Bin Meng

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

Quoted 8 lines
Quoted 4 lines
 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c

That was intended to support a PCH where U-Boot did not have to set it up (when booting from coreboot). Is it not needed now?

This is not needed now. The pch7 and pch7 driver are built for coreboot too so that they can be used.

Regards,
Bin

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Thanks.

Tom, will you apply this one directly for v2016.07 release?

Make a PR for me please, thanks!

Will do.

Regards,
Bin

author
#7 lore raw

PATCH 1/1 x86: coreboot: Remove the dummy pch driver

In reply to Simon Glass
Quoted 26 lines · Simon Glass
Quoted 25 lines · Bin Meng

Hi Simon,

Quoted 10 lines · Simon Glass

Hi Bin,

Quoted 7 lines · Bin Meng

There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed.

---

Quoted 8 lines
Quoted 4 lines
 arch/x86/cpu/coreboot/Makefile |  1 -
 arch/x86/cpu/coreboot/pci.c    | 26 --------------------------
 2 files changed, 27 deletions(-)
 delete mode 100644 arch/x86/cpu/coreboot/pci.c

That was intended to support a PCH where U-Boot did not have to set it up (when booting from coreboot). Is it not needed now?

This is not needed now. The pch7 and pch7 driver are built for coreboot too so that they can be used.

Quoted 6 lines
Quoted 2 lines

Regards,
Bin

Thanks.

applied to u-boot-x86, thanks!