Dear Wolfgang,

> 
> Is there any specific reason for not using u32 for the padding as
> well?
> 
nothing specific. It makes easy to find number of bytes than words.

> 
> Why would you need this BASE + OFFSET notation when using a C struct
> for the registers? Thi smakes little sense to me.
> 

Well I did use the C struct method, if you see my patches submitted earlier
but according to Prafulla and Lie structure size is too big. so they want me
to use a mix of C struct and BASE + OFFSET notation. so I thought to break the 
big
C struct into smaller grouped structures pointing each group with GPIO base + 
group
offset. I would be glad if you can suggest me something better or smarter.

Regards,
Ajay Bhargav
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to