summaryrefslogtreecommitdiff
path: root/kernel/printk/printk.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2011-08-17 18:31:58 -0500
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:54:02 -0800
commit4e09c510185cb4db2277ce81cce81b7aa06bea45 (patch)
tree58aab6bb6279838d61b5278bb1c1176ed80e8d71 /kernel/printk/printk.c
parent0b7503bc0eef1b90c214059f2952539a2b89d8fe (diff)
panic: Add board ID to panic output
At times, it is necessary for boards to provide some additional information as part of panic logs. Provide information on the board hardware as part of panic logs. It is safer to print this information at the very end in case something bad happens as part of the information retrieval itself. To use this, set global mach_panic_string to an appropriate string in the board file. Change-Id: Id12cdda87b0cd2940dd01d52db97e6162f671b4d Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'kernel/printk/printk.c')
0 files changed, 0 insertions, 0 deletions