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>
Wed, 1 Jul 2020 15:32:46 +0000 (16:32 +0100)
commit550444500949b5d4678106811cdf540100805603
treeb39ed8d21842a10d1911cfa375f74382b8f4a552
parent098796428f6dc03dddf5d32a6a9fd22f687e76c2
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>
firmware: raspberrypi: Report the fw git hash during probe

The firmware can now report the git hash from which it was built
via the mailbox, so report it during probe.

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