summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAlberto Panizzo <[email protected]>2018-07-12 13:05:45 +0200
committerMarek Vasut <[email protected]>2018-08-08 22:22:07 +0200
commitf68c8e827c26d2911224f5abaa68a94faed07d3e (patch)
tree0dcfeb4eac3787ebdc41c6feeff49bec79704893 /arch
parente11f9166f37c5d8e0f3c58bb5a1b03601e85643b (diff)
usb: rockchip: implement K_FW_LBA_ERASE_10 command
This command is part of the write partition sequence performed by rkdeveloptool: one partition is first completely erased and than wrote. Signed-off-by: Alberto Panizzo <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-rockchip/f_rockusb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/f_rockusb.h b/arch/arm/include/asm/arch-rockchip/f_rockusb.h
index 3f2e763e967..9772321023b 100644
--- a/arch/arm/include/asm/arch-rockchip/f_rockusb.h
+++ b/arch/arm/include/asm/arch-rockchip/f_rockusb.h
@@ -63,6 +63,7 @@ K_FW_LOW_FORMAT = 0x1C,
K_FW_SET_RESET_FLAG = 0x1E,
K_FW_SPI_READ_10 = 0x21,
K_FW_SPI_WRITE_10 = 0x22,
+K_FW_LBA_ERASE_10 = 0x25,
K_FW_SESSION = 0X30,
K_FW_RESET = 0xff,