summaryrefslogtreecommitdiff
path: root/cpu/arm920t/at91rm9200
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-12 15:24:54 +0200
committerWolfgang Denk <wd@denx.de>2008-09-12 15:24:54 +0200
commit6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7 (patch)
treea7468c1a17feaf28d8ef3443fe5b6f544ecddb72 /cpu/arm920t/at91rm9200
parent7238ada313057a85409485b8ee21515dc10c07a5 (diff)
parentb476b032562aae5a09985f7e22232a5ee7042746 (diff)
downloadu-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.zip
u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.tar.gz
u-boot-imx-6b8be3e58e9cc1badb7a709b0f3568d4d8eca4b7.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'cpu/arm920t/at91rm9200')
-rw-r--r--cpu/arm920t/at91rm9200/i2c.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/arm920t/at91rm9200/i2c.c b/cpu/arm920t/at91rm9200/i2c.c
index 826cea8..90f95df 100644
--- a/cpu/arm920t/at91rm9200/i2c.c
+++ b/cpu/arm920t/at91rm9200/i2c.c
@@ -203,4 +203,14 @@ void i2c_reg_write(uchar i2c_addr, uchar reg, uchar val)
i2c_write(i2c_addr, reg, 1, &val, 1);
}
+int i2c_set_bus_speed(unsigned int speed)
+{
+ return -1;
+}
+
+unsigned int i2c_get_bus_speed(void)
+{
+ return CFG_I2C_SPEED;
+}
+
#endif /* CONFIG_HARD_I2C */