From 81c9431f562bbeb2b6b1efb0f99e023ed818dc5d Mon Sep 17 00:00:00 2001 From: zhang sanshan Date: Wed, 10 May 2017 10:14:27 +0800 Subject: MA-9375 [Android IMX] uboot: enable BCB and bootctrl * Add API to read\write MISC partition. * get the boot mode from BCB command when boot up. * get the boot up tactics from bootctrl. Change-Id: Icbba6340e10983dddc1b04804ecc012a3a3c57d0 Signed-off-by: zhang sanshan --- include/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 6842cdb..ef97b15 100644 --- a/include/common.h +++ b/include/common.h @@ -932,6 +932,10 @@ int cpu_disable(int nr); int cpu_release(int nr, int argc, char * const argv[]); #endif +#ifdef CONFIG_CMD_READ +int do_raw_read(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); +#endif + #else /* __ASSEMBLY__ */ /* Drop a C type modifier (like in 3UL) for constants used in assembly. */ -- cgit v1.1