OSDN Git Service

powerpc: Add device-tree model to the hardware description
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Sep 2022 08:27:07 +0000 (18:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Sep 2022 08:35:53 +0000 (18:35 +1000)
commit541229707970ff2ad3f7705b1dbd025d7cc9bc48
tree69f5b9bbb3fa7cf7e918789beac8e823f73f292c
parent48b7019b6abd029d3800620bb53f0ae3ca052441
powerpc: Add device-tree model to the hardware description

Add the model of the machine we're on to the hardware description, which
is printed at boot and in case of an oops.

eg: Hardware name: IBM,8247-22L

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220930082709.55830-4-mpe@ellerman.id.au
arch/powerpc/kernel/prom.c