summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorAlberto Panizzo <alberto@amarulasolutions.com>2018-07-12 13:05:45 +0200
committerMarek Vasut <marex@denx.de>2018-08-08 22:22:07 +0200
commitf68c8e827c26d2911224f5abaa68a94faed07d3e (patch)
tree0dcfeb4eac3787ebdc41c6feeff49bec79704893 /arch/arm
parente11f9166f37c5d8e0f3c58bb5a1b03601e85643b (diff)
downloadu-boot-f68c8e827c26d2911224f5abaa68a94faed07d3e.tar.gz
u-boot-f68c8e827c26d2911224f5abaa68a94faed07d3e.tar.xz
u-boot-f68c8e827c26d2911224f5abaa68a94faed07d3e.zip
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 <alberto@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm')
-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 3f2e763e96..9772321023 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,