Skip to contentSkip to conversation

fsl: rename 'dma' to 'brdcfg1' in the ngPIXIS structure

PATCH Superseded Timur Tabi 2 participants 2 messages May 20, 2010 – May 21, 2010

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 2/2 fsl: rename 'dma' to 'brdcfg1' in the ngPIXIS structure

The ngPIXIS is a board-specific FPGA, but the definition of the registers is mostly consistent. On boards where it matter, register 9 is called 'brdcfg1' instead of 'dma', so rename the variable in the ngpixis_t definition.

---
 board/freescale/common/ngpixis.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/common/ngpixis.h +1 -1
index 284d044..3c59ea8 100644
@@ -24,7 +24,7 @@ typedef struct ngpixis {
 	u8 aux;
 	u8 spd;
 	u8 brdcfg0;
-	u8 dma;
+	u8 brdcfg1;	/* On some boards, this register is called 'dma' */
 	u8 addr;
 	u8 res2[2];
 	u8 data;
Signature · 1 line
1.6.5
Applied
#1 lore raw

PATCH 2/2 fsl: rename 'dma' to 'brdcfg1' in the ngPIXIS structure

Quoted 9 lines · Timur Tabi

The ngPIXIS is a board-specific FPGA, but the definition of the registers is mostly consistent. On boards where it matter, register 9 is called 'brdcfg1' instead of 'dma', so rename the variable in the ngpixis_t definition.

---
board/freescale/common/ngpixis.h | 2 +-

1 files changed, 1 insertions(+), 1 deletions(-)

applied to 85xx.

- k