Re: [U-Boot] [PATCH 7/9] fsl_esdhc: add support for mx51 processor

2010-01-18 Thread Wolfgang Denk
Dear Stefano Babic, In message <4b542184.6060...@denx.de> you wrote: > > >> +#ifndef CONFIG_PPC > >> +#define out_be32(a,v) writel(v,a) > >> +#define in_be32(a)__raw_readl(a) > >> +#endif > > > > Are you sure these are correct definitions for all architectures? > > If so, they should

Re: [U-Boot] [PATCH 7/9] fsl_esdhc: add support for mx51 processor

2010-01-18 Thread Stefano Babic
Wolfgang Denk wrote: > Dear Stefano Babic, > Hi Wolfgang, >> +#ifndef CONFIG_PPC >> +#define out_be32(a,v) writel(v,a) >> +#define in_be32(a) __raw_readl(a) >> +#endif > > Are you sure these are correct definitions for all architectures? > If so, they should go into a global header file,

Re: [U-Boot] [PATCH 7/9] fsl_esdhc: add support for mx51 processor

2010-01-17 Thread Wolfgang Denk
Dear Stefano Babic, In message <1263212760-27272-8-git-send-email-sba...@denx.de> you wrote: > The esdhc controller in the mx51 processor is quite > the same as the one in some powerpc processors > (MPC83xx, MPC85xx). This patches adapts the driver > to support the arm mx51. > > Signed-off-by: St

[U-Boot] [PATCH 7/9] fsl_esdhc: add support for mx51 processor

2010-01-11 Thread Stefano Babic
The esdhc controller in the mx51 processor is quite the same as the one in some powerpc processors (MPC83xx, MPC85xx). This patches adapts the driver to support the arm mx51. Signed-off-by: Stefano Babic --- drivers/mmc/fsl_esdhc.c | 72 +++--- include/a