summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 09:25:07 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-22 12:37:12 (GMT)
commit21c729799104605f2e4fa976af2f97ed8e258afc (patch)
tree8fbb9fdf4b91c1036c90d0df12a9fd5ca7063494 /drivers/misc
parentdd937b82fec0a5f1a077c207c929a1e3d465f59e (diff)
downloadu-boot-21c729799104605f2e4fa976af2f97ed8e258afc.tar.xz
Kconfig: Drop CONFIG_SYS_I2C_DS4510_ADDR
This is only used by one board and always set to 0x51. Drop this option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/ds4510.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/misc/ds4510.c b/drivers/misc/ds4510.c
index 9ffdafc..55f8936 100644
--- a/drivers/misc/ds4510.c
+++ b/drivers/misc/ds4510.c
@@ -14,11 +14,6 @@
#include <command.h>
#include "ds4510.h"
-/* Default to an address that hopefully won't corrupt other i2c devices */
-#ifndef CONFIG_SYS_I2C_DS4510_ADDR
-#define CONFIG_SYS_I2C_DS4510_ADDR (~0)
-#endif
-
enum {
DS4510_CMD_INFO,
DS4510_CMD_DEVICE,
@@ -254,7 +249,7 @@ cmd_tbl_t cmd_ds4510[] = {
int do_ds4510(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
- static uint8_t chip = CONFIG_SYS_I2C_DS4510_ADDR;
+ static uint8_t chip = 0x51;
cmd_tbl_t *c;
ulong ul_arg2 = 0;
ulong ul_arg3 = 0;