diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2018-06-04 15:24:10 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-06-05 14:11:10 +1000 |
commit | 1b86a92b6cb66ca9a1968e57afd8e6d76c417523 (patch) | |
tree | ae439cef3a028c61f2b42f854be9d6e1c72f9f4a /core | |
parent | a5a32e86f3e2be67da9a89333e1bb18b34145ac1 (diff) | |
download | skiboot-1b86a92b6cb66ca9a1968e57afd8e6d76c417523.zip skiboot-1b86a92b6cb66ca9a1968e57afd8e6d76c417523.tar.gz skiboot-1b86a92b6cb66ca9a1968e57afd8e6d76c417523.tar.bz2 |
Quieten console output on boot
We print out a whole bunch of things on boot, most of which aren't
interesting, so we should *not* print them instead.
Printing things like what CPUs we found and what PCI devices we found
*are* useful, so continue to do that. But we don't need to splat out
a bunch of things that are always going to be true.
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/console.c | 2 | ||||
-rw-r--r-- | core/nvram.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/console.c b/core/console.c index e825675..0e9bc45 100644 --- a/core/console.c +++ b/core/console.c @@ -338,7 +338,7 @@ void init_opal_console(void) opal_con_driver = &dummy_opal_con; } - prlog(PR_NOTICE, "OPAL: Using %s\n", opal_con_driver->name); + prlog(PR_INFO, "OPAL: Using %s\n", opal_con_driver->name); if (opal_con_driver->init) opal_con_driver->init(); diff --git a/core/nvram.c b/core/nvram.c index 1c3cdfa..c215821 100644 --- a/core/nvram.c +++ b/core/nvram.c @@ -170,9 +170,9 @@ void nvram_init(void) prerror("NVRAM: Error %d retrieving nvram info\n", rc); return; } - printf("NVRAM: Size is %d KB\n", nvram_size >> 10); + prlog(PR_INFO, "NVRAM: Size is %d KB\n", nvram_size >> 10); if (nvram_size > 0x100000) { - printf("NVRAM: Cropping to 1MB !\n"); + prlog(PR_WARNING, "NVRAM: Cropping to 1MB !\n"); nvram_size = 0x100000; } |