[U-Boot] [PATCH] mcp512x: Add macros for SCFR LPC divisor access

Stefan Roese sr at denx.de
Tue Jun 9 11:50:05 CEST 2009


Thos macros will be used by the esd mecp5123 board.

Signed-off-by: Stefan Roese <sr at denx.de>
---
 include/asm-ppc/immap_512x.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/asm-ppc/immap_512x.h b/include/asm-ppc/immap_512x.h
index 4f4b284..cdbbfea 100644
--- a/include/asm-ppc/immap_512x.h
+++ b/include/asm-ppc/immap_512x.h
@@ -238,6 +238,9 @@ typedef struct clk512x {
 #define SCFR1_PCI_DIV_MASK	0x00700000
 #define SCFR1_PCI_DIV_SHIFT	20
 
+#define SCFR1_LPC_DIV_MASK	0x00003800
+#define SCFR1_LPC_DIV_SHIFT	11
+
 /* SCFR2 System Clock Frequency Register 2 */
 #define SCFR2_SYS_DIV		0xFC000000
 #define SCFR2_SYS_DIV_SHIFT	26
-- 
1.6.3.2



More information about the U-Boot mailing list