[Skiboot] [PATCH 5/5] chip: Print out when we initialise a chip

Michael Ellerman mpe at ellerman.id.au
Thu Jun 8 22:54:21 AEST 2017


Print out when we initialise a chip and which node we initialised it from,
purely for informational porpoises.

Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
---
 core/chip.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/chip.c b/core/chip.c
index e06a9bcb137b..7de00e2f2497 100644
--- a/core/chip.c
+++ b/core/chip.c
@@ -97,6 +97,7 @@ static void init_chip(struct dt_node *dn)
 
 	list_head_init(&chip->i2cms);
 
+	prlog(PR_INFO, "CHIP: Initialised chip %d from %s\n", id, dn->name);
 	chips[id] = chip;
 }
 
-- 
2.7.4



More information about the Skiboot mailing list