[U-Boot] [PATCH 1/2] mmc: Fix calculation of capacity for hc cards

2013-10-01 Thread Oliver Metz
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

[U-Boot] [PATCH 2/2] mmc: Fix erase_grp_size for partitioned card

2013-10-01 Thread 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

[U-Boot] [PATCH 0/2] mmc: Fix capacity calculation and erase_group_size

2013-10-01 Thread Oliver Metz
; 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

[U-Boot] [PATCH] net: fec: Avoid MX28 bus sync issue

2013-09-15 Thread Oliver Metz
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

Re: [U-Boot] [PATCH 1/2] fw_env: add redundand env support for MTD_ABSENT

2013-08-27 Thread Oliver Metz
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

[U-Boot] [PATCH 1/2] fw_env: add redundand env support for MTD_ABSENT

2013-08-26 Thread Oliver Metz
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

[U-Boot] [PATCH 2/2] fw_env: fix writing environment for mtd devices

2013-08-26 Thread Oliver Metz
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