diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-09-07 16:59:30 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-09-09 10:45:57 +0200 |
commit | e9352093ceb8ca6867d9ff543711743b36ea9112 (patch) | |
tree | 662e88f557ac4a20c98addc8475cd94e9bb7acfd /include/linux | |
parent | aa329e50ac45ecdcd73973b5a5e27f9eaf3a7fb3 (diff) | |
download | barebox-e9352093ceb8ca6867d9ff543711743b36ea9112.tar.gz barebox-e9352093ceb8ca6867d9ff543711743b36ea9112.tar.xz |
mfd: rave-sp: Emulate firmware/bootloader mode reporting on RDU2
Add code to emulate firmware/bootloader mode reporting via
"general_status" field on RDU2. This is needed to correctly report if
RAVE SP is in bootloader of application mode during startup.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mfd/rave-sp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/rave-sp.h b/include/linux/mfd/rave-sp.h index 7b3187cb74..92315c6e12 100644 --- a/include/linux/mfd/rave-sp.h +++ b/include/linux/mfd/rave-sp.h @@ -14,6 +14,7 @@ enum rave_sp_command { RAVE_SP_CMD_GET_FIRMWARE_VERSION = 0x20, RAVE_SP_CMD_GET_BOOTLOADER_VERSION = 0x21, + RAVE_SP_CMD_GET_OPERATIONAL_MODE = 0x25, RAVE_SP_CMD_BOOT_SOURCE = 0x26, RAVE_SP_CMD_GET_BOARD_COPPER_REV = 0x2B, RAVE_SP_CMD_GET_GPIO_STATE = 0x2F, |