* [U-Boot] [PATCH] ARM: dts: ethernut5: Fix the build warning
@ 2017-08-08 0:50 Wenyou Yang
2017-08-09 14:02 ` Tom Rini
2017-09-14 2:13 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Wenyou Yang @ 2017-08-08 0:50 UTC (permalink / raw)
To: u-boot
Fix the building warning as below:
---8<----
Warning (reg_format): "reg" property in /i2c-gpio-0/pcf8563 at 50 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c-gpio-0/pcf8563 at 50
Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c-gpio-0/pcf8563@50
--->8----
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
---
arch/arm/dts/ethernut5.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/ethernut5.dts b/arch/arm/dts/ethernut5.dts
index e07715225f..5c24deaf4b 100644
--- a/arch/arm/dts/ethernut5.dts
+++ b/arch/arm/dts/ethernut5.dts
@@ -84,6 +84,8 @@
};
i2c-gpio-0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "okay";
pcf8563 at 50 {
--
2.13.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: dts: ethernut5: Fix the build warning
2017-08-08 0:50 [U-Boot] [PATCH] ARM: dts: ethernut5: Fix the build warning Wenyou Yang
@ 2017-08-09 14:02 ` Tom Rini
2017-09-14 2:13 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-08-09 14:02 UTC (permalink / raw)
To: u-boot
On Tue, Aug 08, 2017 at 08:50:33AM +0800, Wenyou Yang wrote:
> Fix the building warning as below:
Reviewed-by: Tom Rini <trini@konsulko.com>
But you need to submit this for Linux as well, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170809/a1a036a1/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] ARM: dts: ethernut5: Fix the build warning
2017-08-08 0:50 [U-Boot] [PATCH] ARM: dts: ethernut5: Fix the build warning Wenyou Yang
2017-08-09 14:02 ` Tom Rini
@ 2017-09-14 2:13 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-09-14 2:13 UTC (permalink / raw)
To: u-boot
On Tue, Aug 08, 2017 at 08:50:33AM +0800, Wenyou Yang wrote:
> Fix the building warning as below:
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170913/ced73eae/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-14 2:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-08 0:50 [U-Boot] [PATCH] ARM: dts: ethernut5: Fix the build warning Wenyou Yang
2017-08-09 14:02 ` Tom Rini
2017-09-14 2:13 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox