diff mbox

[U-Boot,v2,1/2] mc34704: Add the definition of ONOFFA bit

Message ID 1424546570-14083-1-git-send-email-festevam@gmail.com
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show

Commit Message

Fabio Estevam Feb. 21, 2015, 7:22 p.m. UTC
From: Fabio Estevam <fabio.estevam@freescale.com>

ONOFFA is the bit 3 of the GENERAL2 register.

Add its definition.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Use fsl email address

 include/mc34704.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic March 2, 2015, 9:41 a.m. UTC | #1
On 21/02/2015 20:22, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> ONOFFA is the bit 3 of the GENERAL2 register.
> 
> Add its definition.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---

Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/mc34704.h b/include/mc34704.h
index 53716e0..482d51a 100644
--- a/include/mc34704.h
+++ b/include/mc34704.h
@@ -40,6 +40,7 @@  enum {
 /* GENERAL2 register fields */
 #define ONOFFE		(1 << 0)
 #define ONOFFD		(1 << 1)
+#define ONOFFA		(1 << 3)
 #define ALLOFF		(1 << 4)
 
 #endif /* __MC34704_H__ */