[U-Boot] [PATCH] mmc: fsl_esdhc fix register offset

Fabio Estevam festevam at gmail.com
Wed Mar 11 17:03:16 CET 2015


On Wed, Mar 11, 2015 at 10:55 AM, Pantelis Antoniou
<panto at antoniou-consulting.com> wrote:

> Although I agree with fixing this, I’m kinda scared about how fragile
> structs for describing hardware registers are.

Agreed!

> But we’re stuck with it I guess.

Yes, it seems this is mandatory in U-boot.

Kernel does not have such requirement and the standard way there is to
use (base + offset) for register accesses.

Regards,

Fabio Estevam


More information about the U-Boot mailing list