|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: Remove warning for platforms without platform specific code
commit e1eb56fb6bbc6cc466338fe86f01d95fc73e124f
Author: Edgar E. Iglesias <edgar.iglesias@xxxxxxxxxx>
AuthorDate: Mon Mar 9 15:23:23 2015 +1000
Commit: Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Mar 11 12:57:53 2015 +0000
xen/arm: Remove warning for platforms without platform specific code
Replace the warning with an info message stating that the platform
is generic.
Suggested-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xxxxxxxxxx>
Reviewed-by: Julien Grall <julien.grall@xxxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
xen/arch/arm/platform.c | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/xen/arch/arm/platform.c b/xen/arch/arm/platform.c
index 86daf2b..70c1388 100644
--- a/xen/arch/arm/platform.c
+++ b/xen/arch/arm/platform.c
@@ -44,17 +44,6 @@ static bool_t __init platform_is_compatible(const struct
platform_desc *plat)
return 0;
}
-/* List of possible platform */
-static void dump_platform_table(void)
-{
- const struct platform_desc *p;
-
- printk("Available platform support:\n");
-
- for ( p = _splatform; p != _eplatform; p++ )
- printk(" - %s\n", p->name);
-}
-
void __init platform_init(void)
{
int res = 0;
@@ -72,9 +61,7 @@ void __init platform_init(void)
if ( platform == _eplatform )
{
/* TODO: dump DT machine compatible node */
- printk(XENLOG_WARNING "WARNING: Unrecognized/unsupported device tree "
- "compatible list\n");
- dump_platform_table();
+ printk(XENLOG_INFO "Platform: Generic System\n");
platform = NULL;
}
else
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |