]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Enable multi-core init for Minnowboard MAX
authorSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 04:26:03 +0000 (22:26 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 22:13:52 +0000 (16:13 -0600)
Enable the CPU uclass and Simple Firmware interface for Minnowbaord MAX. This
enables multi-core support in Linux.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/minnowmax.dts
configs/minnowmax_defconfig

index 0233f614172e4e5ad6a34d298f394a0412844169..7103bc50777074b5fb5f0be1d7b5f8ce5c4c7d04 100644 (file)
                stdout-path = "/serial";
        };
 
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cpu@0 {
+                       device_type = "cpu";
+                       compatible = "intel,baytrail-cpu";
+                       reg = <0>;
+                       intel,apic-id = <0>;
+               };
+
+               cpu@1 {
+                       device_type = "cpu";
+                       compatible = "intel,baytrail-cpu";
+                       reg = <1>;
+                       intel,apic-id = <4>;
+               };
+
+       };
+
        spi {
                #address-cells = <1>;
                #size-cells = <0>;
index c59f4ace1efed60cf8853b412f98418a0afffb76..426fb527c73922da5b10d909b33006c407fb2f24 100644 (file)
@@ -8,3 +8,7 @@ CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
 CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
 CONFIG_MMCONF_BASE_ADDRESS=0xe0000000
 CONFIG_HAVE_INTEL_ME=y
+CONFIG_GENERATE_SFI_TABLE=y
+CONFIG_CPU=y
+CONFIG_CMD_CPU=y
+CONFIG_SMP=y