]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: panther: Add PCI and video configuration
authorSimon Glass <sjg@chromium.org>
Fri, 28 Aug 2015 01:54:48 +0000 (19:54 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Sep 2015 13:48:03 +0000 (07:48 -0600)
Add a PCI node to the device tree. This allows SPI flash and SATA to work
correctly. Also configure the video to come up correctly even though there
is no keyboard.

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

index 36feb96a94d09ee2fcabe315be1f59ca3feba95b..c60ab710d2fdef390c049a406131ab17e49d7054 100644 (file)
                stdout-path = "/serial";
        };
 
+       pci {
+               compatible = "pci-x86";
+               #address-cells = <3>;
+               #size-cells = <2>;
+               u-boot,dm-pre-reloc;
+               ranges = <0x02000000 0x0 0xe0000000 0xe0000000 0 0x10000000
+                       0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000
+                       0x01000000 0x0 0x1000 0x1000 0 0xf000>;
+       };
+
        spi {
                #address-cells = <1>;
                #size-cells = <0>;
index 00fe26da2965ed48feb9e2b32d7305968084d6b5..dc732b810f9c29a3d47c97a5a2a5ab657186d1d0 100644 (file)
@@ -14,4 +14,6 @@
 /* Avoid a warning in the Realtek Ethernet driver */
 #define CONFIG_SYS_CACHELINE_SIZE 16
 
+#define CONFIG_VGA_AS_SINGLE_DEVICE
+
 #endif /* __CONFIG_H */