* [PATCH] Revert "common: resource: print conflicts as warning"
@ 2014-07-22 19:57 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2014-07-22 19:57 UTC (permalink / raw)
To: barebox
On several i.MX boards we register SDRAM with the values
from the SDRAM controller and also with values from the
device tree. This now issues a warning each time the board
is started. Revert the commit for now.
A better solution might be to check if the same SDRAM region
already exists before trying to register it again.
This reverts commit c9e2e08edcdce4205821226817686e62dc349eab.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
common/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/resource.c b/common/resource.c
index 1ea2a75..fe4680e 100644
--- a/common/resource.c
+++ b/common/resource.c
@@ -71,7 +71,7 @@ struct resource *__request_region(struct resource *parent,
goto ok;
if (start > r->end)
continue;
- pr_warn("%s: 0x%08llx:0x%08llx conflicts with 0x%08llx:0x%08llx\n",
+ debug("%s: 0x%08llx:0x%08llx conflicts with 0x%08llx:0x%08llx\n",
__func__,
(unsigned long long)start,
(unsigned long long)end,
--
2.0.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-22 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 19:57 [PATCH] Revert "common: resource: print conflicts as warning" Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox