discover: Add some debug print messages
[petitboot] / discover / platform.c
index cc6306f035b96e622fb40026b780925279ac78fa..e69c6f6b5bebe9958a31c80c7f27727ae0cf1191 100644 (file)
@@ -166,6 +166,7 @@ int platform_init(void *ctx)
        platform_ctx = talloc_new(ctx);
 
        for (p = &__start_platforms; p < &__stop_platforms; p++) {
+               pb_debug("%s: Try platform %s\n", __func__, (*p)->name);
                if (!(*p)->probe(*p, platform_ctx))
                        continue;
                platform = *p;