[U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

Stephen Warren swarren at wwwdotorg.org
Thu Jul 31 22:20:46 CEST 2014


On 07/30/2014 03:49 AM, Simon Glass wrote:
> If the sandbox device tree is provided to U-Boot (with the -d flag) then it
> will use the device tree version in preference to the built-in device. The
> only difference is the colour.

> diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts

> +	uart0: serial {
> +		compatible = "sandbox,serial";
> +		u-boot,dm-pre-reloc;

Shouldn't that be handled by the driver. It's certainly something that's 
only relevant to the internals of U-Boot, and hence inappropriate to put 
into DT.

> +		text-colour = "cyan";

That's property should likely have a uboot, prefix, since it's non-standard.


More information about the U-Boot mailing list