From b4a60e521c66b1e634cacdebcfae3a1e1c9deb52 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Sat, 22 May 2010 17:25:47 -0500 Subject: ppc/85xx: Add a structure defn for PIXIS registers The various boards that have PIXIS FPGAs have slightly different register definitions, however there is some common functionality (like reset, ICS307 clk control, etc) that can be shared. The struct definition exists for MPC8536DS, MPC8544DS, MPC8572DS, MPC8610HPCD, and MPC8641HPCN boards. Also fixed ngpixis to be __packed__ instead of aligned. Signed-off-by: Kumar Gala --- board/freescale/common/ngpixis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/freescale/common/ngpixis.h') diff --git a/board/freescale/common/ngpixis.h b/board/freescale/common/ngpixis.h index 3c59ea8028..089408b769 100644 --- a/board/freescale/common/ngpixis.h +++ b/board/freescale/common/ngpixis.h @@ -45,7 +45,7 @@ typedef struct ngpixis { u8 sw; u8 en; } s[8]; -} ngpixis_t __attribute__ ((aligned(1))); +} __attribute__ ((packed)) ngpixis_t; /* Pointer to the PIXIS register set */ #define pixis ((ngpixis_t *)PIXIS_BASE) -- cgit v1.2.1