[U-Boot] [PATCH 5/7] ARM: sunxi-mmc: Add mmc support for sun6i / A31

Ian Campbell ijc at hellion.org.uk
Tue Sep 23 13:54:03 CEST 2014


On Tue, 2014-09-23 at 19:50 +0800, Chen-Yu Tsai wrote:
> Ian, include/configs/sun?i.h and sunxi-common.h only have config
> related #defines. Are we sure this is the place for something
> like register offsets?

I guess not ;-)

> For reference, drivers/i2c/mvtwsi.c has sunxi specific register
> offsets wrapped in a #define in the file itself.

How about either ./arch/arm/include/asm/arch-sunxi/mmc.h or near the top
of this C file (i.e. outside the code itself)?

Ian.



More information about the U-Boot mailing list