firmware: raspberrypi: Report the fw variant during probe
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Thu, 10 Jan 2019 17:58:06 +0000 (17:58 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:15 +0000 (00:08 +0100)
commit97405e23ec248fc3564893488b69749d70ec912e
treee99cf8bf398b7d33f14c6de739eb307ef37f7c3a
parentfed25f13899f199263a2a3416e1793837ea115f6
firmware: raspberrypi: Report the fw variant during probe

The driver already reported the firmware build date during probe.
The mailbox calls have been extended to also report the variant
 1 = standard start.elf
 2 = start_x.elf (includes camera stack)
 3 = start_db.elf (includes assert logging)
 4 = start_cd.elf (cutdown version for smallest memory footprint).
Log the variant during probe.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/firmware/raspberrypi.c
include/soc/bcm2835/raspberrypi-firmware.h