summaryrefslogtreecommitdiffstats
path: root/board/freescale/common/ngpixis.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-05-22 17:25:47 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-07-16 10:55:08 -0500
commitb4a60e521c66b1e634cacdebcfae3a1e1c9deb52 (patch)
tree569141311c1fc97e2f2ecf8b0edf4ca2a88ac22e /board/freescale/common/ngpixis.h
parent8f3a7fa4a230f5e974e99b617138e2aaa45109e7 (diff)
downloadblackbird-obmc-uboot-b4a60e521c66b1e634cacdebcfae3a1e1c9deb52.tar.gz
blackbird-obmc-uboot-b4a60e521c66b1e634cacdebcfae3a1e1c9deb52.zip
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 <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/common/ngpixis.h')
-rw-r--r--board/freescale/common/ngpixis.h2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud