mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-26 00:21:37 +00:00
powerpc/83xx/km: drop uneeded dtt_bus environment var
There is no need for a environment variable to configure the dtt bus. Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
This commit is contained in:
parent
25b29921b2
commit
411190cb16
2 changed files with 4 additions and 9 deletions
|
@ -98,17 +98,13 @@ const qe_iop_conf_t qe_iop_conf_tab[] = {
|
||||||
static int board_init_i2c_busses(void)
|
static int board_init_i2c_busses(void)
|
||||||
{
|
{
|
||||||
I2C_MUX_DEVICE *dev = NULL;
|
I2C_MUX_DEVICE *dev = NULL;
|
||||||
uchar *buf;
|
uchar *dtt_bus = (uchar *)"pca9547:70:a";
|
||||||
|
|
||||||
/* Set up the Bus for the DTTs */
|
/* Set up the Bus for the DTTs */
|
||||||
buf = (unsigned char *) getenv("dtt_bus");
|
dev = i2c_mux_ident_muxstring(dtt_bus);
|
||||||
if (buf != NULL)
|
if (dev == NULL)
|
||||||
dev = i2c_mux_ident_muxstring(buf);
|
|
||||||
if (dev == NULL) {
|
|
||||||
printf("Error couldn't add Bus for DTT\n");
|
printf("Error couldn't add Bus for DTT\n");
|
||||||
printf("please setup dtt_bus to where your\n");
|
|
||||||
printf("DTT is found.\n");
|
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -312,7 +312,6 @@
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
CONFIG_KM_DEF_ENV \
|
CONFIG_KM_DEF_ENV \
|
||||||
CONFIG_KM_DEF_ARCH \
|
CONFIG_KM_DEF_ARCH \
|
||||||
"dtt_bus=pca9547:70:a\0" \
|
|
||||||
"EEprom_ivm=pca9547:70:9\0" \
|
"EEprom_ivm=pca9547:70:9\0" \
|
||||||
"newenv=" \
|
"newenv=" \
|
||||||
"prot off 0xF00C0000 +0x40000 && " \
|
"prot off 0xF00C0000 +0x40000 && " \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue