x86: coreboot: Remove the dummy pch driver
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
@@ -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
@@ -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
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.
Signed-off-by Bin Meng <[email protected]>---
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
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.
Signed-off-by Bin Meng <[email protected]>---
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.cThat 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
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.
Signed-off-by Bin Meng <[email protected]>---
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.cThat 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.
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.
Signed-off-by Bin Meng <[email protected]>---
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.cThat 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,
BinThanks.
Reviewed-by Simon Glass <[email protected]>
Tom, will you apply this one directly for v2016.07 release?
Regards,
Bin
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.
Signed-off-by Bin Meng <[email protected]>---
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.cThat 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,
BinThanks.
Reviewed-by Simon Glass <[email protected]>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>
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.
Signed-off-by Bin Meng <[email protected]>---
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.cThat 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.
Reviewed-by Simon Glass <[email protected]>Tom, will you apply this one directly for v2016.07 release?
Make a PR for me please, thanks!
Will do.
Regards,
Bin
PATCH 1/1 x86: coreboot: Remove the dummy pch driver
In reply to Simon GlassQuoted 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.
Signed-off-by Bin Meng <[email protected]>---
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.cThat 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,
BinThanks.
Reviewed-by Simon Glass <[email protected]>
applied to u-boot-x86, thanks!