summaryrefslogtreecommitdiff
path: root/board/sandburst/metrobox/metrobox.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-15 16:03:56 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-15 16:03:56 +0200
commit3d078ce6d786df932a0c00b8a95c0179c616ebc1 (patch)
tree0b5c170ea71c3052a7345f1846142e5f7cc9ab95 /board/sandburst/metrobox/metrobox.h
parent6bdf430660531aca5f88faeac8657d91595f5b38 (diff)
downloadu-boot-imx-3d078ce6d786df932a0c00b8a95c0179c616ebc1.zip
u-boot-imx-3d078ce6d786df932a0c00b8a95c0179c616ebc1.tar.gz
u-boot-imx-3d078ce6d786df932a0c00b8a95c0179c616ebc1.tar.bz2
Coding style cleanup
Diffstat (limited to 'board/sandburst/metrobox/metrobox.h')
-rw-r--r--board/sandburst/metrobox/metrobox.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/board/sandburst/metrobox/metrobox.h b/board/sandburst/metrobox/metrobox.h
index 964dc71..cb7a83c 100644
--- a/board/sandburst/metrobox/metrobox.h
+++ b/board/sandburst/metrobox/metrobox.h
@@ -30,19 +30,16 @@ typedef struct metrobox_board_id_s {
/* Metrobox Opto-FPGA registers and definitions */
#include "hal_xc_auto.h"
-typedef struct opto_fpga_regs_s
-{
- volatile unsigned long revision_ul; /* Read Only */
- volatile unsigned long reset_ul; /* Read/Write */
- volatile unsigned long status_ul; /* Read Only */
- volatile unsigned long interrupt_ul; /* Read Only */
- volatile unsigned long mask_ul; /* Read/Write */
- volatile unsigned long scratch_ul; /* Read/Write */
- volatile unsigned long scrmask_ul; /* Read/Write */
- volatile unsigned long control_ul; /* Read/Write */
- volatile unsigned long boardinfo_ul; /* Read Only */
-} OPTO_FPGA_REGS_ST __attribute__((packed)), *OPTO_FPGA_REGS_PST;
-
-
+typedef struct opto_fpga_regs_s {
+ volatile unsigned long revision_ul; /* Read Only */
+ volatile unsigned long reset_ul; /* Read/Write */
+ volatile unsigned long status_ul; /* Read Only */
+ volatile unsigned long interrupt_ul; /* Read Only */
+ volatile unsigned long mask_ul; /* Read/Write */
+ volatile unsigned long scratch_ul; /* Read/Write */
+ volatile unsigned long scrmask_ul; /* Read/Write */
+ volatile unsigned long control_ul; /* Read/Write */
+ volatile unsigned long boardinfo_ul; /* Read Only */
+} OPTO_FPGA_REGS_ST __attribute__ ((packed)), *OPTO_FPGA_REGS_PST;
#endif /* __METROBOX_H__ */