+Tom Hi Fabio,
On 12 August 2015 at 08:24, Fabio Estevam <feste...@gmail.com> wrote: > > On Wed, Aug 12, 2015 at 11:15 AM, Simon Glass <s...@chromium.org> wrote: > > >> +#define GPIO_SWPORTA_DR 0x00 > >> +#define GPIO_SWPORTA_DDR 0x04 > >> +#define GPIO_INTEN 0x30 > >> +#define GPIO_INTMASK 0x34 > >> +#define GPIO_INTTYPE_LEVEL 0x38 > >> +#define GPIO_INT_POLARITY 0x3c > >> +#define GPIO_INTSTATUS 0x40 > >> +#define GPIO_PORTA_DEBOUNCE 0x48 > >> +#define GPIO_PORTA_EOI 0x4c > >> +#define GPIO_EXT_PORTA 0x50 > > > > What's the deal with C structures? Has the policy on this changed? I > > I thought we no longer need to access registers via structs, and > accessing them via base + offset, like the kernel does is OK in > U-boot: > https://www.marc.info/?l=u-boot&m=142609602127309&w=2 Thanks for the link. No I did not know that. Perhaps we should add the type-checking referred to in that thread? What is it and who is doing it? Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot