projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60dc85
)
mcp512x: Add macros for SCFR LPC divisor access
author
Stefan Roese
<sr@denx.de>
Tue, 9 Jun 2009 09:50:05 +0000
(11:50 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 12 Jun 2009 18:47:19 +0000
(20:47 +0200)
Thos macros will be used by the esd mecp5123 board.
Signed-off-by: Stefan Roese <sr@denx.de>
include/asm-ppc/immap_512x.h
patch
|
blob
|
history
diff --git
a/include/asm-ppc/immap_512x.h
b/include/asm-ppc/immap_512x.h
index 444e0288855720cde54ac647fb63d367a91eb568..3648a05f8cbc1a782354c63e31e9a3baf3cd08bb 100644
(file)
--- a/
include/asm-ppc/immap_512x.h
+++ b/
include/asm-ppc/immap_512x.h
@@
-234,6
+234,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