aboutsummaryrefslogtreecommitdiff
path: root/core/nvram.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-06-04 15:24:10 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-06-05 14:11:10 +1000
commit1b86a92b6cb66ca9a1968e57afd8e6d76c417523 (patch)
treeae439cef3a028c61f2b42f854be9d6e1c72f9f4a /core/nvram.c
parenta5a32e86f3e2be67da9a89333e1bb18b34145ac1 (diff)
downloadskiboot-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/nvram.c')
-rw-r--r--core/nvram.c4
1 files changed, 2 insertions, 2 deletions
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;
}