Skip to contentSkip to conversation

mcp512x: Add macros for SCFR LPC divisor access

PATCH New Stefan Roese 2 participants 2 messages Jun 9, 2009 – Jun 12, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mcp512x: Add macros for SCFR LPC divisor access

Thos macros will be used by the esd mecp5123 board.

---
 include/asm-ppc/immap_512x.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/asm-ppc/immap_512x.h +3 -0
index 4f4b284..cdbbfea 100644
@@ -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
Signature · 1 line
1.6.3.2
#1 lore raw

PATCH 1/1 mcp512x: Add macros for SCFR LPC divisor access

Dear Stefan Roese,

Quoted 6 lines · In message <[email protected]> you wrote:

Thos macros will be used by the esd mecp5123 board.

---
 include/asm-ppc/immap_512x.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Applied to u-boot-mpc5xxx repo, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"That unit is a woman."
"A mass of conflicting impulses."
	-- Spock and Nomad, "The Changeling", stardate 3541.9