diff mbox

[U-Boot,v2,1/4] x86: ivybridge: Remove NORTHBRIDGE_INTEL_SANDYBRIDGE

Message ID 1448502369-22405-1-git-send-email-bmeng.cn@gmail.com
State Accepted
Delegated to: Bin Meng
Headers show

Commit Message

Bin Meng Nov. 26, 2015, 1:46 a.m. UTC
NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

---

Changes in v2:
- Remove NORTHBRIDGE_INTEL_SANDYBRIDGE in Makefile too.

 arch/x86/cpu/Makefile          |  1 -
 arch/x86/cpu/ivybridge/Kconfig | 33 +--------------------------------
 2 files changed, 1 insertion(+), 33 deletions(-)

Comments

Simon Glass Nov. 26, 2015, 4:50 p.m. UTC | #1
Hi Bin,

On 25 November 2015 at 17:46, Bin Meng <bmeng.cn@gmail.com> wrote:
> NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>
> ---
>
> Changes in v2:
> - Remove NORTHBRIDGE_INTEL_SANDYBRIDGE in Makefile too.
>
>  arch/x86/cpu/Makefile          |  1 -
>  arch/x86/cpu/ivybridge/Kconfig | 33 +--------------------------------
>  2 files changed, 1 insertion(+), 33 deletions(-)

Acked-by: Simon Glass <sjg@chromium.org>

I'll be able to test this series next week.

- Simon
Bin Meng Dec. 8, 2015, 9:10 a.m. UTC | #2
Hi Simon,

On Fri, Nov 27, 2015 at 12:50 AM, Simon Glass <sjg@chromium.org> wrote:
> Hi Bin,
>
> On 25 November 2015 at 17:46, Bin Meng <bmeng.cn@gmail.com> wrote:
>> NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge.
>>
>> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>>
>> ---
>>
>> Changes in v2:
>> - Remove NORTHBRIDGE_INTEL_SANDYBRIDGE in Makefile too.
>>
>>  arch/x86/cpu/Makefile          |  1 -
>>  arch/x86/cpu/ivybridge/Kconfig | 33 +--------------------------------
>>  2 files changed, 1 insertion(+), 33 deletions(-)
>
> Acked-by: Simon Glass <sjg@chromium.org>
>
> I'll be able to test this series next week.
>

I see you sent a series of ivybridge dm update. Does that sit on top
of my series? Have you got a chance to test this series?

Regards,
Bin
Simon Glass Dec. 9, 2015, 4:09 a.m. UTC | #3
On 8 December 2015 at 01:10, Bin Meng <bmeng.cn@gmail.com> wrote:
>
> Hi Simon,
>
> On Fri, Nov 27, 2015 at 12:50 AM, Simon Glass <sjg@chromium.org> wrote:
> > Hi Bin,
> >
> > On 25 November 2015 at 17:46, Bin Meng <bmeng.cn@gmail.com> wrote:
> >> NORTHBRIDGE_INTEL_SANDYBRIDGE is for sandybridge, not ivybridge.
> >>
> >> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> >>
> >> ---
> >>
> >> Changes in v2:
> >> - Remove NORTHBRIDGE_INTEL_SANDYBRIDGE in Makefile too.
> >>
> >>  arch/x86/cpu/Makefile          |  1 -
> >>  arch/x86/cpu/ivybridge/Kconfig | 33 +--------------------------------
> >>  2 files changed, 1 insertion(+), 33 deletions(-)
> >
> > Acked-by: Simon Glass <sjg@chromium.org>
> >
> > I'll be able to test this series next week.
> >
>
> I see you sent a series of ivybridge dm update. Does that sit on top
> of my series? Have you got a chance to test this series?

No but a rebase is easy.

Tested on link:
Tested-by: Simon Glass <sjg@chromium.org>

BTW you could apply this series if you like as it is a clean-up.
diff mbox

Patch

diff --git a/arch/x86/cpu/Makefile b/arch/x86/cpu/Makefile
index e797925..2ff2377 100644
--- a/arch/x86/cpu/Makefile
+++ b/arch/x86/cpu/Makefile
@@ -22,7 +22,6 @@  obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
 obj-$(CONFIG_SYS_COREBOOT) += coreboot/
 obj-$(CONFIG_EFI_APP) += efi/
 obj-$(CONFIG_QEMU) += qemu/
-obj-$(CONFIG_NORTHBRIDGE_INTEL_SANDYBRIDGE) += ivybridge/
 obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/
 obj-$(CONFIG_INTEL_QUARK) += quark/
 obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/
diff --git a/arch/x86/cpu/ivybridge/Kconfig b/arch/x86/cpu/ivybridge/Kconfig
index 0e249a4..d20c038 100644
--- a/arch/x86/cpu/ivybridge/Kconfig
+++ b/arch/x86/cpu/ivybridge/Kconfig
@@ -5,37 +5,11 @@ 
 #
 # SPDX-License-Identifier:	GPL-2.0
 
-
-config NORTHBRIDGE_INTEL_SANDYBRIDGE
-	bool
-	select CACHE_MRC_BIN
-	select CPU_INTEL_MODEL_206AX
-
 config NORTHBRIDGE_INTEL_IVYBRIDGE
 	bool
 	select CACHE_MRC_BIN
 	select CPU_INTEL_MODEL_306AX
 
-if NORTHBRIDGE_INTEL_SANDYBRIDGE
-
-config VGA_BIOS_ID
-	string
-	default "8086,0106"
-
-config CACHE_MRC_SIZE_KB
-	int
-	default 256
-
-config DCACHE_RAM_BASE
-	hex
-	default 0xff7f0000
-
-config DCACHE_RAM_SIZE
-	hex
-	default 0x10000
-
-endif
-
 if NORTHBRIDGE_INTEL_IVYBRIDGE
 
 config VGA_BIOS_ID
@@ -58,10 +32,6 @@  config DCACHE_RAM_SIZE
 	hex
 	default 0x20000
 
-endif
-
-if NORTHBRIDGE_INTEL_SANDYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE
-
 config HAVE_MRC
         bool "Add a System Agent binary"
         help
@@ -83,8 +53,7 @@  config DCACHE_RAM_MRC_VAR_SIZE
 config MRC_FILE
 	string "Intel System Agent path and filename"
 	depends on HAVE_MRC
-	default "systemagent-ivybridge.bin" if NORTHBRIDGE_INTEL_IVYBRIDGE
-	default "systemagent-sandybridge.bin" if NORTHBRIDGE_INTEL_SANDYBRIDGE
+	default "systemagent-ivybridge.bin"
 	help
 	  The path and filename of the file to use as System Agent
 	  binary.