[Armadeus-commitlog] SF.net SVN: armadeus:[1148] trunk/buildroot/target/device/armadeus/apf27/ apf2
Brought to you by:
sszy
|
From: <th...@us...> - 2009-03-11 17:30:27
|
Revision: 1148
http://armadeus.svn.sourceforge.net/armadeus/?rev=1148&view=rev
Author: thom25
Date: 2009-03-11 17:30:11 +0000 (Wed, 11 Mar 2009)
Log Message:
-----------
[U-BOOT] add FPGA support
Modified Paths:
--------------
trunk/buildroot/target/device/armadeus/apf27/apf27.h
Modified: trunk/buildroot/target/device/armadeus/apf27/apf27.h
===================================================================
--- trunk/buildroot/target/device/armadeus/apf27/apf27.h 2009-03-11 16:11:05 UTC (rev 1147)
+++ trunk/buildroot/target/device/armadeus/apf27/apf27.h 2009-03-11 17:30:11 UTC (rev 1148)
@@ -666,6 +666,19 @@
#define CFG_EIM_VAL 0x00002000
+/* FPGA specific settings */
+/* CLKO */
+#define CFG_CCSR_VAL 0x00000307
+/* drive strength CLKO set to 2*/
+#define CFG_DSCR10_VAL 0x00020000
+/* drive strength A1..A12 set to 2*/
+#define CFG_DSCR3_VAL 0x02AAAAA8
+/* drive strength ctrl*/
+#define CFG_DSCR7_VAL 0x008A08A0
+/* drive strength data*/
+#define CFG_DSCR2_VAL 0xAAAAAAAA
+
+
/*
* Default configuration for GPIOs and peripherals
*/
@@ -810,7 +823,7 @@
/* SSIx CLKO NFC H264 MSHC */
#define CFG_PCDR0_VAL\
- (0x02000000 \
+ (0x02C00000 \
|((((CONFIG_SYS_CLK_FREQ/CONFIG_MSHC_FREQ)-1)&0x3F)<<0) \
|((((CONFIG_HCLK_FREQ/CONFIG_NFC_FREQ)-1)&0x0F)<<6) \
|(((((CONFIG_SYS_CLK_FREQ/CONFIG_H264_FREQ)-2)*2)&0x3F)<<10)\
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|