summaryrefslogtreecommitdiff
path: root/include/configs/netstar.h
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2009-03-25 23:43:58 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-29 16:04:51 +0200
commit04531f3c11c693dc54924f82c41979d960309c9d (patch)
treefe4024454bc4d75c7a3a769426569dfc93e500c9 /include/configs/netstar.h
parent71f7bd305d9768bcb7ddbe4b5823cbf3b3597b11 (diff)
downloadu-boot-imx-04531f3c11c693dc54924f82c41979d960309c9d.zip
u-boot-imx-04531f3c11c693dc54924f82c41979d960309c9d.tar.gz
u-boot-imx-04531f3c11c693dc54924f82c41979d960309c9d.tar.bz2
NetStar: add RTC support
Add RTC support. Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Diffstat (limited to 'include/configs/netstar.h')
-rw-r--r--include/configs/netstar.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/netstar.h b/include/configs/netstar.h
index e0cc718..1110ecc 100644
--- a/include/configs/netstar.h
+++ b/include/configs/netstar.h
@@ -110,6 +110,14 @@
#define CONFIG_SYS_NAND_BASE 0x04000000 + (2 << 23)
#define NAND_ALLOW_ERASE_ALL 1
+#define CONFIG_HARD_I2C
+#define CONFIG_SYS_I2C_SPEED 100000
+#define CONFIG_SYS_I2C_SLAVE 1
+#define CONFIG_DRIVER_OMAP1510_I2C
+
+#define CONFIG_RTC_DS1307
+#define CONFIG_SYS_I2C_RTC_ADDR 0x68
+
#define CONFIG_CONS_INDEX 1
#define CONFIG_BAUDRATE 115200
@@ -133,6 +141,7 @@
*/
#define CONFIG_CMD_BDI
#define CONFIG_CMD_BOOTD
+#define CONFIG_CMD_DATE
#define CONFIG_CMD_DHCP
#define CONFIG_CMD_SAVEENV
#define CONFIG_CMD_FLASH