mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 15:11:33 +00:00
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>
20 lines
274 B
Text
20 lines
274 B
Text
/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>;
|
|
};
|
|
};
|