]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/log.c
Migrate generic bootcount to Kconfig
[people/ms/u-boot.git] / common / log.c
index d5f1cc50777d7618699166605c890fa1f50a460f..680a60f86e819888e2891085d9a8179f4052d8b3 100644 (file)
@@ -21,6 +21,7 @@ static const char *log_cat_name[LOGC_COUNT - LOGC_NONE] = {
        "core",
        "driver-model",
        "device-tree",
+       "efi",
 };
 
 static const char *log_level_name[LOGL_COUNT] = {
@@ -307,6 +308,7 @@ int log_init(void)
        }
        gd->flags |= GD_FLG_LOG_READY;
        gd->default_log_level = LOGL_INFO;
+       gd->log_fmt = LOGF_DEFAULT;
 
        return 0;
 }