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@citrix.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Edgar E. Iglesias authored and Ian Campbell committed 2015-03-11 12:57:53 +00:00
1 parent d6ccfe6ba0
commit e1eb56fb6b
1 file changed
+1 -14
+1 -14
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.