make config.hardware.dts.src nullable
This is for QEMU where we won't have to provide a dtb because the device tree is built by the platform according the (emulated) hardware present. Maybe in future there will be other hardware devices where we don't need to provide a dtb.
This commit is contained in:
@@ -16,8 +16,14 @@ in {
|
||||
hardware = {
|
||||
dts = {
|
||||
src = mkOption {
|
||||
type = types.path;
|
||||
description = "Path to the device tree source (usually from OpenWrt)";
|
||||
type = types.nullOr types.path;
|
||||
description = ''
|
||||
If the device requires an external device tree to be loaded
|
||||
alongside the kernel, this is the path to the device tree source
|
||||
(we usually get these from OpenWrt). This value may be null if the
|
||||
platform creates the device tree - currently this is the case
|
||||
only for QEMU.
|
||||
'';
|
||||
};
|
||||
includes = mkOption {
|
||||
default = [];
|
||||
|
Reference in New Issue
Block a user