sandbox: Add an alias for SPI

At present 'sf probe' does not work since it cannot find SPI bus 0. Add
an alias to correct this, now that we no-longer have the --spi_sf option.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2019-05-18 11:59:42 -06:00
parent dc8c91abb7
commit 87dac6b074
2 changed files with 4 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
pci0 = &pci;
rtc0 = &rtc_0;
axi0 = &axi;
spi0 = &spi;
};
cros_ec: cros-ec {
@@ -48,7 +49,7 @@
0x01000000 0 0x20000000 0x20000000 0 0x2000>;
};
spi@0 {
spi: spi@0 {
u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <0>;

View File

@@ -10,6 +10,7 @@
pci0 = &pci;
rtc0 = &rtc_0;
axi0 = &axi;
spi0 = &spi;
};
cros_ec: cros-ec {
@@ -48,7 +49,7 @@
0x01000000 0 0x20000000 0 0x20000000 0 0x2000>;
};
spi@0 {
spi: spi@0 {
u-boot,dm-pre-reloc;
#address-cells = <1>;
#size-cells = <0>;