[U-Boot] [PATCH] ppc/85xx: Add a structure defn for PIXIS registers
Scott Wood
scottwood at freescale.com
Mon May 24 18:23:20 CEST 2010
On Sat, May 22, 2010 at 05:33:31PM -0500, Kumar Gala wrote:
> +/* PIXIS register set. */
> +#if defined(CONFIG_MPC8536DS)
> +typedef struct pixis {
> + u8 id;
> + u8 ver;
> + u8 pver;
> + u8 csr;
> + u8 rst;
> + u8 rst2;
> + u8 aux1;
> + u8 spd;
> + u8 aux2;
> + u8 csr2;
> + u8 watch;
> + u8 led;
> + u8 pwr;
> + u8 res[3];
> + u8 vctl;
> + u8 vstat;
> + u8 vcfgen0;
> + u8 vcfgen1;
> + u8 vcore0;
> + u8 res1;
> + u8 vboot;
> + u8 vspeed[3];
> + u8 sclk[3];
> + u8 dclk[3];
> + u8 i2cdacr;
> + u8 vcoreacc[4];
> + u8 vcorecnt[3];
> + u8 vcoremax[2];
> + u8 vplatacc[4];
> + u8 vplatcnt[3];
> + u8 vplatmax[2];
> + u8 vtempacc[4];
> + u8 vtempcnt[3];
> + u8 vtempmax[2];
> + u8 res2[4];
> +} pixis_t __attribute__ ((aligned(1)));
What's the aligned(1) for?
-Scott
More information about the U-Boot
mailing list