]> git.sur5r.net Git - u-boot/blobdiff - drivers/misc/ds4510.c
ddr: altera: stratix10: Add DDR support for Stratix10 SoC
[u-boot] / drivers / misc / ds4510.c
index 9ffdafc9929d657e097f8e19dedc078ea61bbb60..bf20a833ecdd620a77858e8d1373bf0be4c0d05f 100644 (file)
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright 2008 Extreme Engineering Solutions, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0
  */
 
 /*
 #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 +248,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;