]> xenbits.xensource.com Git - people/gdunlap/xen.git/commitdiff
xen/arm: Remove warning for platforms without platform specific code
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Mon, 9 Mar 2015 05:23:23 +0000 (15:23 +1000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 11 Mar 2015 12:57:53 +0000 (12:57 +0000)
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>
xen/arch/arm/platform.c

index 86daf2bf6c55447267b25d36b14c83a9e6e43281..70c1388f9e3a7ba1d8ee4d450f8ee3947b004488 100644 (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