When using a high capacity card with a density less than
2 GB a wrong size is calculated. According to JEDEC 4.41 there is no
differentiation for C_SIZE register between low and high capacity cards.
Use ext_csd sector count to calculate capacity instead.
Signed-off-by: Oliver Metz
EXT_CSD_ERASE_GROUP_DEF is lost every time after a reset or
power off. Set it if device has enhanced partitions.
Signed-off-by: Oliver Metz
---
drivers/mmc/mmc.c | 17 +
include/mmc.h | 2 ++
2 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc
; on power
on.
Oliver Metz (2):
When using a high capacity card with a density less than 2 GB a wrong
size is shown. According to JEDEC 4.41 there is no differentiation
for C_SIZE register between low and high capacity cards
EXT_CSD_ERASE_GROUP_DEF is lost every time after a reset or reboo
Dear Fabio,
>Hi Robert and Hector,
>
>On Fri, Sep 13, 2013 at 2:46 PM, Wolfgang Denk <[hidden email]> wrote:
>
>> That's ALLOC_CACHE_ALIGN_BUFFER. Thanks.
>
>Could you please let us know wthether the change below fix the problem?
>
>Thanks,
>
>Fabio Estevam
>
>--- a/drivers/net/fec_mxc.c
Robert P. J. Day schrieb am 26.08.2013 16:25:
> On Sun, 25 Aug 2013, Oliver Metz wrote:
>
>> Signed-off-by: Oliver Metz
>> ---
>> tools/env/fw_env.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
Signed-off-by: Oliver Metz
---
tools/env/fw_env.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 44607b1..65be5f3 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -1136,6 +1136,9 @@ int fw_env_open(void)
} else if
Signed-off-by: Oliver Metz
---
tools/env/fw_env.c | 71 --
1 file changed, 42 insertions(+), 29 deletions(-)
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 65be5f3..7454676 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
7 matches
Mail list logo