diff options
author | Tom Rini <trini@konsulko.com> | 2017-05-15 13:01:26 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-15 13:01:26 -0400 |
commit | cb33bda44f4bbf6fb58adf41dced313ca38da6fc (patch) | |
tree | 8545cfc94e15989b99e587a22296ec7bc428e5b1 /board/esd | |
parent | 50749d2ac30dd7af94d8c9ed64276f92d9d396f5 (diff) | |
parent | ce3b5d69112b1adc878e06586c1bc819414309be (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-i2c
Diffstat (limited to 'board/esd')
-rw-r--r-- | board/esd/mecp5123/mecp5123.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/board/esd/mecp5123/mecp5123.c b/board/esd/mecp5123/mecp5123.c index 66dc407bae..78a6b66110 100644 --- a/board/esd/mecp5123/mecp5123.c +++ b/board/esd/mecp5123/mecp5123.c @@ -18,17 +18,7 @@ DECLARE_GLOBAL_DATA_PTR; int eeprom_write_enable(unsigned dev_addr, int state) { - volatile immap_t *im = (immap_t *)CONFIG_SYS_IMMR; - - if (dev_addr != CONFIG_SYS_I2C_EEPROM_ADDR) - return -1; - - if (state == 0) - setbits_be32(&im->gpio.gpdat, 0x00100000); - else - clrbits_be32(&im->gpio.gpdat, 0x00100000); - - return 0; + return -ENOSYS; } int board_early_init_f(void) |