Skip to content

Commit 3fda5bb

Browse files
andy-shevIngo Molnar
authored and
Ingo Molnar
committed
x86/platform/intel-mid: Enable 64-bit build
Intel Tangier SoC is known to have 64-bit dual core CPU. Enable 64-bit build for it. The kernel has been tested on Intel Edison board: Linux buildroot 4.4.0-next-20160115+ #25 SMP Fri Jan 15 22:03:19 EET 2016 x86_64 GNU/Linux processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 74 model name : Genuine Intel(R) CPU 4000 @ 500MHz stepping : 8 Signed-off-by: Andy Shevchenko <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Denys Vlasenko <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mika Westerberg <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/1452888668-147116-1-git-send-email-andriy.shevchenko@linux.intel.com Signed-off-by: Ingo Molnar <[email protected]>
1 parent 98229aa commit 3fda5bb

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

arch/x86/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,10 @@ config X86_INTEL_CE
495495

496496
config X86_INTEL_MID
497497
bool "Intel MID platform support"
498-
depends on X86_32
499498
depends on X86_EXTENDED_PLATFORM
500499
depends on X86_PLATFORM_DEVICES
501500
depends on PCI
502-
depends on PCI_GOANY
501+
depends on X86_64 || (PCI_GOANY && X86_32)
503502
depends on X86_IO_APIC
504503
select SFI
505504
select I2C

arch/x86/kernel/head64.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,13 @@ void __init x86_64_start_reservations(char *real_mode_data)
192192

193193
reserve_ebda_region();
194194

195+
switch (boot_params.hdr.hardware_subarch) {
196+
case X86_SUBARCH_INTEL_MID:
197+
x86_intel_mid_early_setup();
198+
break;
199+
default:
200+
break;
201+
}
202+
195203
start_kernel();
196204
}

0 commit comments

Comments
 (0)