diff options
author | Bastian Hecht <hechtb@googlemail.com> | 2012-03-01 10:48:39 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 00:42:57 +0100 |
commit | 0b3f0d12eff1ed23496fcf4cf468e1d317516e53 (patch) | |
tree | e84337479fd27342f617707819f7af27729409c1 /include/linux/mtd | |
parent | dd5ab248329edab4b16b70e4d9920f162d181d90 (diff) | |
download | linux-3.10-0b3f0d12eff1ed23496fcf4cf468e1d317516e53.tar.gz linux-3.10-0b3f0d12eff1ed23496fcf4cf468e1d317516e53.tar.bz2 linux-3.10-0b3f0d12eff1ed23496fcf4cf468e1d317516e53.zip |
mtd: sh_flctl: Use cached register value for FLCMNCR
Instead of reading out the register, use a cached value. This will
make way for a proper runtime power management implementation.
Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/sh_flctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/sh_flctl.h b/include/linux/mtd/sh_flctl.h index b66940593c8..c7082820703 100644 --- a/include/linux/mtd/sh_flctl.h +++ b/include/linux/mtd/sh_flctl.h @@ -132,6 +132,7 @@ struct sh_flctl { int erase1_page_addr; /* page_addr in ERASE1 cmd */ uint32_t erase_ADRCNT; /* bits of FLCMDCR in ERASE1 cmd */ uint32_t rw_ADRCNT; /* bits of FLCMDCR in READ WRITE cmd */ + uint32_t flcmncr_base; /* base value of FLCMNCR */ int hwecc_cant_correct[4]; |