All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 08/13] x86: cougarcanyon2: Enable CPU driver and SMP support
Date: Sun,  3 Jun 2018 19:04:21 -0700	[thread overview]
Message-ID: <1528077866-2850-9-git-send-email-bmeng.cn@gmail.com> (raw)
In-Reply-To: <1528077866-2850-1-git-send-email-bmeng.cn@gmail.com>

This enables the 206ax cpu driver on Intel Cougar Canyon 2 board,
so that SMP can be supported too.

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

 arch/x86/dts/cougarcanyon2.dts  | 33 +++++++++++++++++++++++++++++++++
 configs/cougarcanyon2_defconfig |  3 +++
 2 files changed, 36 insertions(+)

diff --git a/arch/x86/dts/cougarcanyon2.dts b/arch/x86/dts/cougarcanyon2.dts
index 8c71e98..946ba06 100644
--- a/arch/x86/dts/cougarcanyon2.dts
+++ b/arch/x86/dts/cougarcanyon2.dts
@@ -27,6 +27,39 @@
 		stdout-path = "/serial";
 	};
 
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpu at 0 {
+			device_type = "cpu";
+			compatible = "intel,core-gen3";
+			reg = <0>;
+			intel,apic-id = <0>;
+		};
+
+		cpu at 1 {
+			device_type = "cpu";
+			compatible = "intel,core-gen3";
+			reg = <1>;
+			intel,apic-id = <1>;
+		};
+
+		cpu at 2 {
+			device_type = "cpu";
+			compatible = "intel,core-gen3";
+			reg = <2>;
+			intel,apic-id = <2>;
+		};
+
+		cpu at 3 {
+			device_type = "cpu";
+			compatible = "intel,core-gen3";
+			reg = <3>;
+			intel,apic-id = <3>;
+		};
+	};
+
 	microcode {
 		update at 0 {
 #include "microcode/m12306a2_00000008.dtsi"
diff --git a/configs/cougarcanyon2_defconfig b/configs/cougarcanyon2_defconfig
index 04ad232..98d9aa0 100644
--- a/configs/cougarcanyon2_defconfig
+++ b/configs/cougarcanyon2_defconfig
@@ -5,12 +5,14 @@ CONFIG_DEFAULT_DEVICE_TREE="cougarcanyon2"
 CONFIG_TARGET_COUGARCANYON2=y
 # CONFIG_HAVE_INTEL_ME is not set
 # CONFIG_ENABLE_MRC_CACHE is not set
+CONFIG_SMP=y
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y
 CONFIG_LAST_STAGE_INIT=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_CPU=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_PART=y
@@ -32,6 +34,7 @@ CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_REGMAP=y
 CONFIG_SYSCON=y
+CONFIG_CPU=y
 CONFIG_SYS_NS16550=y
 CONFIG_SPI=y
 CONFIG_USB_STORAGE=y
-- 
2.7.4

  parent reply	other threads:[~2018-06-04  2:04 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-04  2:04 [U-Boot] [PATCH 00/13] x86: ivybridge: cougarcanyon2: Various enhancements Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 01/13] usb: xhci-pci: Fix compiler warning Bin Meng
2018-06-07 20:29   ` Simon Glass
2018-06-12  1:53     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 02/13] x86: ivybridge: Imply USB_XHCI_HCD Bin Meng
2018-06-07 20:30   ` Simon Glass
2018-06-12  1:53     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 03/13] x86: cougarcanyon2: Update dts for SPI lock down Bin Meng
2018-06-07 20:31   ` Simon Glass
2018-06-12  1:53     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 04/13] x86: cougarcanyon2: Remove CONFIG_HAVE_INTEL_ME Bin Meng
2018-06-07 20:31   ` Simon Glass
2018-06-12  1:53     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 05/13] x86: ivybridge: Enable 206ax cpu driver for FSP build Bin Meng
2018-06-07 20:31   ` Simon Glass
2018-06-12  1:53     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 06/13] x86: ivybridge: Drop CONFIG_USBDEBUG Bin Meng
2018-06-07 20:32   ` Simon Glass
2018-06-12  1:53     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 07/13] x86: chromebook_link: Remove dm-pre-reloc property in the cpu nodes Bin Meng
2018-06-07 20:33   ` Simon Glass
2018-06-12  1:54     ` Bin Meng
2018-06-04  2:04 ` Bin Meng [this message]
2018-06-07 20:32   ` [U-Boot] [PATCH 08/13] x86: cougarcanyon2: Enable CPU driver and SMP support Simon Glass
2018-06-12  1:54     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 09/13] x86: irq: Remove chipset specific irq router drivers Bin Meng
2018-06-07 20:33   ` Simon Glass
2018-06-12  1:54     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 10/13] x86: irq: Change LINK_V2N and LINK_N2V to inline functions Bin Meng
2018-06-07 20:33   ` Simon Glass
2018-06-12  1:54     ` Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 11/13] x86: irq: Introduce CONFIG_DISCRETE_PIRQ_ROUT Bin Meng
2018-06-07 20:34   ` Simon Glass
2018-06-04  2:04 ` [U-Boot] [PATCH 12/13] x86: ivybridge: Implement IvyBridge-specific IRQ converting logic Bin Meng
2018-06-04  2:04 ` [U-Boot] [PATCH 13/13] x86: cougarcanyon2: Add missing chipset interrupt information Bin Meng
2018-06-07 20:34   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1528077866-2850-9-git-send-email-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.