cros_ec: Add crosec flashinfo command
authorMoritz Fischer <moritz.fischer@ettus.com>
Tue, 13 Sep 2016 21:44:49 +0000 (14:44 -0700)
committersjg <sjg@chromium.org>
Sun, 9 Oct 2016 15:30:32 +0000 (09:30 -0600)
commit7a71e4891d6fab9f9d54cee72e6012727ef45d82
tree61b35b6e8b2522bdeee13ea776a7f9b2198f1611
parent281ca88fab7f6b66a18d494c05a1f1fa39f11075
cros_ec: Add crosec flashinfo command

Add command to print out the flash info as reported by the
ec. The data read back includes size, write block size,
erase block size.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de
Acked-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec.c