* [U-Boot] [PATCH] ppc4xx: Canyonlands: Remove unnecessary FDT warning upon DTB fixup
@ 2008-09-22 14:10 Stefan Roese
2008-09-22 21:17 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2008-09-22 14:10 UTC (permalink / raw)
To: u-boot
Depending on the configuration jumper "SATA SELECT", U-Boot disabled
either one PCIe node or the SATA node in the device tree blob. This
patch removes the unnecessary and even confusing warning, when the node
is not found at all.
Signed-off-by: Stefan Roese <sr@denx.de>
---
board/amcc/canyonlands/canyonlands.c | 16 ++++------------
1 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/board/amcc/canyonlands/canyonlands.c b/board/amcc/canyonlands/canyonlands.c
index e9eba49..47667ee 100644
--- a/board/amcc/canyonlands/canyonlands.c
+++ b/board/amcc/canyonlands/canyonlands.c
@@ -460,12 +460,8 @@ void ft_board_setup(void *blob, bd_t *bd)
* node in the device tree, so that Linux doesn't initialize
* it.
*/
- rc = fdt_find_and_setprop(blob, "/plb/pciex at d00000000", "status",
- "disabled", sizeof("disabled"), 1);
- if (rc) {
- printf("Unable to update property status in PCIe node, err=%s\n",
- fdt_strerror(rc));
- }
+ fdt_find_and_setprop(blob, "/plb/pciex at d00000000", "status",
+ "disabled", sizeof("disabled"), 1);
}
if (gd->board_type == BOARD_CANYONLANDS_PCIE) {
@@ -474,12 +470,8 @@ void ft_board_setup(void *blob, bd_t *bd)
* node in the device tree, so that Linux doesn't initialize
* it.
*/
- rc = fdt_find_and_setprop(blob, "/plb/sata at bffd1000", "status",
- "disabled", sizeof("disabled"), 1);
- if (rc) {
- printf("Unable to update property status in PCIe node, err=%s\n",
- fdt_strerror(rc));
- }
+ fdt_find_and_setprop(blob, "/plb/sata at bffd1000", "status",
+ "disabled", sizeof("disabled"), 1);
}
}
#endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* [U-Boot] [PATCH] ppc4xx: Canyonlands: Remove unnecessary FDT warning upon DTB fixup
2008-09-22 14:10 [U-Boot] [PATCH] ppc4xx: Canyonlands: Remove unnecessary FDT warning upon DTB fixup Stefan Roese
@ 2008-09-22 21:17 ` Wolfgang Denk
2008-09-23 6:48 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2008-09-22 21:17 UTC (permalink / raw)
To: u-boot
Dear Stefan Roese,
In message <1222092643-25097-1-git-send-email-sr@denx.de> you wrote:
> Depending on the configuration jumper "SATA SELECT", U-Boot disabled
> either one PCIe node or the SATA node in the device tree blob. This
> patch removes the unnecessary and even confusing warning, when the node
> is not found at all.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
> board/amcc/canyonlands/canyonlands.c | 16 ++++------------
> 1 files changed, 4 insertions(+), 12 deletions(-)
Applied, thanks.
Hope it's OK that I pulled this directly.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The easiest way to figure the cost of living is to take your income
and add ten percent.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ppc4xx: Canyonlands: Remove unnecessary FDT warning upon DTB fixup
2008-09-22 21:17 ` Wolfgang Denk
@ 2008-09-23 6:48 ` Stefan Roese
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2008-09-23 6:48 UTC (permalink / raw)
To: u-boot
Hi Wolfgang,
On Monday 22 September 2008, Wolfgang Denk wrote:
> > Depending on the configuration jumper "SATA SELECT", U-Boot disabled
> > either one PCIe node or the SATA node in the device tree blob. This
> > patch removes the unnecessary and even confusing warning, when the node
> > is not found at all.
> >
> > Signed-off-by: Stefan Roese <sr@denx.de>
> > ---
> > board/amcc/canyonlands/canyonlands.c | 16 ++++------------
> > 1 files changed, 4 insertions(+), 12 deletions(-)
>
> Applied, thanks.
>
> Hope it's OK that I pulled this directly.
Sure. Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-23 6:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 14:10 [U-Boot] [PATCH] ppc4xx: Canyonlands: Remove unnecessary FDT warning upon DTB fixup Stefan Roese
2008-09-22 21:17 ` Wolfgang Denk
2008-09-23 6:48 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox