X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_dtt.c;h=7783c880ba444f49d7993b84e8d8a8f6c7a68acb;hb=f63728c804ab7413a67d70f6774cd30c3f7b40fb;hp=956dc69daecbd3736f86b94096c41669c06fd4ed;hpb=f743931f9b4d4e15c9bdfe726bef033ea1f1402c;p=u-boot diff --git a/common/cmd_dtt.c b/common/cmd_dtt.c index 956dc69dae..7783c880ba 100644 --- a/common/cmd_dtt.c +++ b/common/cmd_dtt.c @@ -36,7 +36,7 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) /* switch to correct I2C bus */ old_bus = I2C_GET_BUS(); - I2C_SET_BUS(CFG_DTT_BUS_NUM); + I2C_SET_BUS(CONFIG_SYS_DTT_BUS_NUM); /* * Loop through sensors, read @@ -55,6 +55,6 @@ int do_dtt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( dtt, 1, 1, do_dtt, - "dtt - Digital Thermometer and Thermostat\n", + "Digital Thermometer and Thermostat", " - Read temperature from digital thermometer and thermostat.\n" );