[Armadeus-commitlog] armadeus branch, master, updated. release-3.3-143-ga9b0e58
Brought to you by:
sszy
|
From: Nicolas <th...@us...> - 2010-11-26 10:26:43
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via a9b0e585dcbf3dc6811b43352d13de9377f7b5d3 (commit)
from 713a40d8c2ba0de79c93d7d4f097f42ad666cb2a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a9b0e585dcbf3dc6811b43352d13de9377f7b5d3
Author: nicolas colombain <nic...@ar...>
Date: Fri Nov 26 11:26:01 2010 +0100
[U-BOOT] add fpga support
-----------------------------------------------------------------------
Summary of changes:
.../device/armadeus/apf51/apf51-u-boot-2010.03.h | 31 +++++++++----------
1 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/buildroot/target/device/armadeus/apf51/apf51-u-boot-2010.03.h b/buildroot/target/device/armadeus/apf51/apf51-u-boot-2010.03.h
index 0f0103d..014c4c4 100644
--- a/buildroot/target/device/armadeus/apf51/apf51-u-boot-2010.03.h
+++ b/buildroot/target/device/armadeus/apf51/apf51-u-boot-2010.03.h
@@ -41,7 +41,7 @@
* dependent initialization.
*/
-//#define CONFIG_MISC_INIT_R
+#define CONFIG_MISC_INIT_R
/*
* BOOTP options
@@ -569,9 +569,9 @@
#define CONFIG_DISCOVER_PHY
/*-----------------------------------------------------------------------
- * FPGA stuff TODO TODO TODO TODO TODO TODO TODO TODO
+ * FPGA
*/
-//#define CONFIG_FPGA CONFIG_SYS_SPARTAN3
+#define CONFIG_FPGA CONFIG_SYS_SPARTAN3
//#define FPGA_DEBUG
#define CONFIG_FPGA_COUNT 1
#define CONFIG_FPGA_XILINX
@@ -580,20 +580,15 @@
#define CONFIG_SYS_FPGA_PROG_FEEDBACK
#define CONFIG_SYS_FPGA_CHECK_CTRLC
#define CONFIG_SYS_FPGA_CHECK_ERROR
-//#define CONFIG_SYS_FPGA_IS_PROTO /* to be defined with apf27 board prototype*/
/* FPGA program pin configuration */
-#define CONFIG_SYS_FPGA_PWR (GPIO_PORTF | 19) /* FPGA prog pin */
-#define CONFIG_SYS_FPGA_PRG (GPIO_PORTF | 11) /* FPGA prog pin */
-#define CONFIG_SYS_FPGA_CLK (GPIO_PORTF | 15) /* FPGA clk pin */
-#define CONFIG_SYS_FPGA_RDATA 0xD6000000 /* FPGA data addr */
-#define CONFIG_SYS_FPGA_WDATA 0xD6000000 /* FPGA data addr */
-#define CONFIG_SYS_FPGA_INIT (GPIO_PORTF | 12) /* FPGA init pin */
-#define CONFIG_SYS_FPGA_DONE (GPIO_PORTF | 9) /* FPGA done pin */
-#define CONFIG_SYS_FPGA_RW (GPIO_PORTF | 21) /* FPGA done pin */
-#define CONFIG_SYS_FPGA_CS (GPIO_PORTF | 22) /* FPGA done pin */
-#define CONFIG_SYS_FPGA_SUSPEND (GPIO_PORTF | 10) /* FPGA done pin */
-#define CONFIG_SYS_FPGA_RESET (GPIO_PORTF | 7) /* FPGA done pin */
+#define CONFIG_SYS_FPGA_PWR MX51_PIN_DI1_D0_CS
+#define CONFIG_SYS_FPGA_PRG MX51_PIN_CSI2_D12
+#define CONFIG_SYS_FPGA_RDATA CS1_BASE_ADDR
+#define CONFIG_SYS_FPGA_WDATA CS1_BASE_ADDR
+#define CONFIG_SYS_FPGA_INIT MX51_PIN_CSI2_D18
+#define CONFIG_SYS_FPGA_DONE MX51_PIN_CSI2_D13
+#define CONFIG_SYS_FPGA_SUSPEND MX51_PIN_DISPB2_SER_DIO
/**
* I2C Configs TODO TODO TODO TODO
@@ -657,7 +652,7 @@
*/
#define CONFIG_SYS_SDRAM_1_SIZE (CONFIG_SYS_SDRAM_MBYTE_SYZE) * 1024 * 1024
#define CONFIG_SYS_SDRAM_2_SIZE (CONFIG_SYS_SDRAM_MBYTE_SYZE) * 1024 * 1024
-#define CONFIG_NR_DRAM_BANKS CONFIG_SYS_NR_DRAM_BANKS /* not an option anyway */
+#define CONFIG_NR_DRAM_BANKS 1
#ifdef CONFIG_SYS_SDRAM_TYPE_MDDR
#if (CONFIG_SYS_SDRAM_MBYTE_SYZE == 64) /* micron MT46H16M32LF -6 */
@@ -1017,3 +1012,7 @@
#endif /* __CONFIG_H */
+#ifdef CONFIG_BOARD_NAME
+#undef CONFIG_BOARD_NAME
+#endif
+#define CONFIG_BOARD_NAME apf51
hooks/post-receive
--
armadeus
|