usb: rockchip: implement skeleton for K_FW_GET_CHIP_VER command
authorAlberto Panizzo <alberto@amarulasolutions.com>
Thu, 12 Jul 2018 11:05:42 +0000 (13:05 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 8 Aug 2018 20:22:07 +0000 (22:22 +0200)
commite4b34a7634c30ee2476ce019b8793099d02e1ac0
tree744431af117ecb3f4eef7f1a455189179179ea65
parentcad66e324d31e14d1f9eb19b52c4fe81bdad6951
usb: rockchip: implement skeleton for K_FW_GET_CHIP_VER command

Chip Version is a string saved in BOOTROM address space Little Endian.

Ex for rk3288: 0x33323041 0x32303134 0x30383133 0x56323030
which brings:  320A20140813V200

Note that memory version do invert MSB/LSB so printing the char
buffer would show: A02341023180002V

Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
doc/README.rockusb
drivers/usb/gadget/f_rockusb.c