summaryrefslogtreecommitdiff
path: root/include/cros_ec.h
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2016-11-03 14:53:52 (GMT)
committerSimon Glass <sjg@chromium.org>2016-12-03 04:04:48 (GMT)
commita2558e8729831e0bcef634ea2440e60425ef0ff6 (patch)
treea653a4011ade2643c20658abaa19ec933605bf73 /include/cros_ec.h
parentae6acf9fe2c83370159724855b7fdbb350ae99b9 (diff)
downloadu-boot-fsl-qoriq-a2558e8729831e0bcef634ea2440e60425ef0ff6.tar.xz
cmd: crosec: Move cros_ec_decode_region helper to cmd/cros_ec.c
The cros_ec_decode_region() function is only used in combination with the crosec cmds. Move the function to the correct place. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: u-boot@lists.denx.de Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/cros_ec.h')
-rw-r--r--include/cros_ec.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/cros_ec.h b/include/cros_ec.h
index ec7517c..0271f2b 100644
--- a/include/cros_ec.h
+++ b/include/cros_ec.h
@@ -250,15 +250,6 @@ void cros_ec_dump_data(const char *name, int cmd, const uint8_t *data, int len);
*/
int cros_ec_calc_checksum(const uint8_t *data, int size);
-/**
- * Decode a flash region parameter
- *
- * @param argc Number of params remaining
- * @param argv List of remaining parameters
- * @return flash region (EC_FLASH_REGION_...) or -1 on error
- */
-int cros_ec_decode_region(int argc, char * const argv[]);
-
int cros_ec_flash_erase(struct cros_ec_dev *dev, uint32_t offset,
uint32_t size);