mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 00:20:44 +09:00
714a5621c2
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with: ./u-boot -d u-boot.dtb Signed-off-by: Simon Glass <sjg@chromium.org>
21 lines
274 B
Plaintext
21 lines
274 B
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
triangle {
|
|
compatible = "demo-shape";
|
|
colour = "cyan";
|
|
sides = <3>;
|
|
character = <83>;
|
|
};
|
|
square {
|
|
compatible = "demo-shape";
|
|
colour = "blue";
|
|
sides = <4>;
|
|
};
|
|
hexagon {
|
|
compatible = "demo-simple";
|
|
colour = "white";
|
|
sides = <6>;
|
|
};
|
|
};
|