x86: panther: Add PCI and video configuration
PATCH v3 1/1 x86: panther: Add PCI and video configuration
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 <[email protected]>
Reviewed-by Bin Meng <[email protected]>
---
Changes in v3:
- Fix 'correectly' typo
Changes in v2:
- Fix PCI I/O range value
arch/x86/dts/chromebox_panther.dts | 10 ++++++++++ include/configs/chromebox_panther.h | 2 ++ 2 files changed, 12 insertions(+)
arch/x86/dts/chromebox_panther.dts +10 -0
@@ -42,6 +42,16 @@ 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>;
include/configs/chromebox_panther.h +2 -0
@@ -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 */
Signature · 1 line
2.5.0.457.gab17608
PATCH v3 1/1 x86: panther: Add PCI and video configuration
Quoted 11 lines · Simon Glass
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 <[email protected]>Reviewed-by Bin Meng <[email protected]>---
Changes in v3:
- Fix 'correectly' typo
Quoted 6 lines
Changes in v2:
- Fix PCI I/O range valuearch/x86/dts/chromebox_panther.dts | 10 ++++++++++ include/configs/chromebox_panther.h | 2 ++ 2 files changed, 12 insertions(+)
Applied to u-boot-x86, thanks!