Skip to content

Commit

Permalink
chip: Print out when we initialise a chip
Browse files Browse the repository at this point in the history
Print out when we initialise a chip and which node we initialised it from,
purely for informational porpoises.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
mpe authored and stewartsmith committed Jun 15, 2017
1 parent 223c49e commit 38434fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/chip.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 38434fc

Please sign in to comment.