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)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:52 +0000 (16:03 +0000)
commit3a29dd22bfbab67934cb7e1b83bafc200fa1fe49
tree207eadb0a3017b53e3429dfb0b568b79c08d2fbf
parent175042e1b3703107ea6ea942b138edebd4994020
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