samus: hook up SSD firmware updates for Kingston SSDs
Link in the 2.3 firmware binary for our Kingston SSDs, along with some
metadata that the AHCI driver can use to match drive models/firmware
revs to an update suggestion.
Because these SSDs require power cycling, provide a callback for
toggling GPIOs 21 (SSD power) and 47 (SSD reset).
For expediency, we just link in the entire firmware binary as a binary
array. If we run out of space, we could potentially compress the
firmware, or attempt to locate it in some other flash region.
TEST=boot samus with Kinston SSD 1.8 firmware, see upgrade to 2.3; check
version with 'hdparm -I /dev/sda' from ChromeOS
Signed-off-by: Brian Norris <email@example.com>
Reviewed-by: Duncan Laurie <firstname.lastname@example.org>
1 file changed