cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
master
Jon Loeliger 17 years ago
parent 079a136c35
commit 068b60a0eb
  1. 2
      cpu/74xx_7xx/kgdb.S
  2. 2
      cpu/i386/serial.c
  3. 2
      cpu/mcf52x2/fec.c
  4. 4
      cpu/mpc5xxx/ide.c
  5. 2
      cpu/mpc8260/ether_fcc.c
  6. 2
      cpu/mpc8260/ether_scc.c
  7. 2
      cpu/mpc8260/kgdb.S
  8. 2
      cpu/mpc85xx/ether_fcc.c
  9. 2
      cpu/mpc8xx/fec.c
  10. 2
      cpu/mpc8xx/kgdb.S
  11. 2
      cpu/mpc8xx/scc.c
  12. 2
      cpu/mpc8xx/serial.c
  13. 2
      cpu/ppc4xx/dcr.S
  14. 2
      cpu/ppc4xx/kgdb.S
  15. 2
      cpu/ppc4xx/serial.c
  16. 2
      include/_exports.h
  17. 2
      include/exports.h
  18. 2
      include/pcmcia.h
  19. 2
      rtc/bf5xx_rtc.c
  20. 2
      rtc/date.c
  21. 2
      rtc/ds1307.c
  22. 2
      rtc/ds1337.c
  23. 2
      rtc/ds1374.c
  24. 2
      rtc/ds1556.c
  25. 2
      rtc/ds164x.c
  26. 2
      rtc/ds174x.c
  27. 2
      rtc/m41t11.c
  28. 2
      rtc/m48t35ax.c
  29. 2
      rtc/max6900.c
  30. 2
      rtc/mc146818.c
  31. 2
      rtc/mpc5xxx.c
  32. 4
      rtc/mpc8xx.c
  33. 2
      rtc/pcf8563.c
  34. 4
      rtc/s3c24x0_rtc.c

@ -74,4 +74,4 @@ kgdb_flush_cache_range:
SYNC
blr
#endif /* CFG_CMD_KGDB */
#endif

@ -500,4 +500,4 @@ void kgdb_interruptible(int yes)
return;
}
#endif /* (CONFIG_KGDB_SER_INDEX & 2) */
#endif /* CFG_CMD_KGDB */
#endif

@ -592,7 +592,7 @@ int mcf52x2_miiphy_write (char *devname, unsigned char addr,
return 0;
}
#endif
#endif /* CFG_CMD_NET, FEC_ENET */
#endif
int mcf52x2_miiphy_initialize(bd_t *bis)
{

@ -24,7 +24,7 @@
*/
#include <common.h>
#ifdef CFG_CMD_IDE
#if defined(CONFIG_CMD_IDE)
#include <mpc5xxx.h>
DECLARE_GLOBAL_DATA_PTR;
@ -85,4 +85,4 @@ int ide_preinit (void)
return (0);
}
#endif /* CFG_CMD_IDE */
#endif

@ -1187,4 +1187,4 @@ eth_loopback_test (void)
#endif /* CONFIG_ETHER_LOOPBACK_TEST */
#endif /* CONFIG_ETHER_ON_FCC && CFG_CMD_NET && CONFIG_NET_MULTI */
#endif

@ -353,4 +353,4 @@ void restart(void)
}
#endif
#endif /* CONFIG_ETHER_ON_SCC && CFG_CMD_NET */
#endif

@ -69,4 +69,4 @@ kgdb_flush_cache_range:
SYNC
blr
#endif /* CFG_CMD_KGDB */
#endif

@ -468,6 +468,6 @@ int fec_initialize(bd_t *bis)
return 1;
}
#endif /* CONFIG_ETHER_ON_FCC && CFG_CMD_NET && CONFIG_NET_MULTI */
#endif
#endif /* CONFIG_CPM2 */

@ -1022,4 +1022,4 @@ int fec8xx_miiphy_write(char *devname, unsigned char addr,
}
#endif
#endif /* CFG_CMD_NET, FEC_ENET */
#endif

@ -71,4 +71,4 @@ kgdb_flush_cache_range:
SYNC
blr
#endif /* CFG_CMD_KGDB */
#endif

@ -567,4 +567,4 @@ void restart (void)
(SCC_GSMRL_ENR | SCC_GSMRL_ENT);
}
#endif
#endif /* CFG_CMD_NET, SCC_ENET */
#endif

@ -723,6 +723,6 @@ kgdb_interruptible (int yes)
{
return;
}
#endif /* CFG_CMD_KGDB */
#endif
#endif /* CONFIG_8xx_CONS_NONE */

@ -195,4 +195,4 @@ set_dcr:
blr /* Return to calling function */
.Lfe4: .size set_dcr,.Lfe4-set_dcr
/* end set_dcr() */
#endif /* CONFIG_4xx & CFG_CMD_SETGETDCR */
#endif

@ -75,4 +75,4 @@ kgdb_flush_cache_range:
SYNC
blr
#endif /* CFG_CMD_KGDB */
#endif

@ -949,7 +949,7 @@ void kgdb_interruptible (int yes)
return;
}
#endif /* (CONFIG_KGDB_SER_INDEX & 2) */
#endif /* CFG_CMD_KGDB */
#endif
#if defined(CONFIG_SERIAL_MULTI)

@ -18,4 +18,4 @@ EXPORT_FUNC(simple_strtoul)
#if defined(CONFIG_CMD_I2C)
EXPORT_FUNC(i2c_write)
EXPORT_FUNC(i2c_read)
#endif /* CFG_CMD_I2C */
#endif

@ -26,7 +26,7 @@ void setenv (char *varname, char *varvalue);
#if defined(CONFIG_CMD_I2C)
int i2c_write (uchar, uint, int , uchar* , int);
int i2c_read (uchar, uint, int , uchar* , int);
#endif /* CFG_CMD_I2C */
#endif
void app_startup(char **);

@ -306,7 +306,7 @@ typedef struct {
#define CISTPL_IDE_HAS_INDEX 0x20
#define CISTPL_IDE_IOIS16 0x40
#endif /* CFG_CMD_PCMCIA || CFG_CMD_IDE && (CONFIG_IDE_8xx_PCCARD || CONFIG_IDE_8xx_DIRECT) */
#endif
#ifdef CONFIG_8xx
extern u_int *pcmcia_pgcrx[];

@ -140,4 +140,4 @@ void rtc_get(struct rtc_time *tmp)
MIN_TO_SECS(tm_min) + HRS_TO_SECS(tm_hour) + DAYS_TO_SECS(tm_day);
to_tm(time_in_sec, tmp);
}
#endif /* CONFIG_RTC_BFIN && CFG_CMD_DATE */
#endif

@ -153,4 +153,4 @@ mktime (unsigned int year, unsigned int mon,
)*60 + sec; /* finally seconds */
}
#endif /* CFG_CMD_DATE */
#endif

@ -201,4 +201,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* (CONFIG_RTC_DS1307 || CONFIG_RTC_DS1338) && (CFG_COMMANDS & CFG_CMD_DATE) */
#endif

@ -188,4 +188,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* CONFIG_RTC_DS1337 && (CFG_COMMANDS & CFG_CMD_DATE) */
#endif

@ -250,4 +250,4 @@ static void rtc_write_raw (uchar reg, uchar val)
{
i2c_reg_write (CFG_I2C_RTC_ADDR, reg, val);
}
#endif /* (CONFIG_RTC_DS1374) && (CFG_COMMANDS & CFG_CMD_DATE) */
#endif

@ -203,4 +203,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* CONFIG_RTC_DS1556 && CFG_CMD_DATE */
#endif

@ -197,4 +197,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* CONFIG_RTC_DS164x && CFG_CMD_DATE */
#endif

@ -199,4 +199,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* CONFIG_RTC_MC146818 && CFG_CMD_DATE */
#endif

@ -199,4 +199,4 @@ int rtc_recall(int addr, unsigned char* data, int size)
return i2c_read( CFG_I2C_RTC_ADDR, REG_CNT+addr, 1, data, size );
}
#endif /* CONFIG_RTC_M41T11 && CFG_I2C_RTC_ADDR && CFG_CMD_DATE */
#endif

@ -163,4 +163,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* CONFIG_RTC_M48T35A && CFG_CMD_DATE */
#endif

@ -128,4 +128,4 @@ void rtc_reset (void)
{
}
#endif /* CONFIG_RTC_MAX6900 && CFG_CMD_DATE */
#endif

@ -175,4 +175,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* CONFIG_RTC_MC146818 && CFG_CMD_DATE */
#endif

@ -137,4 +137,4 @@ void rtc_reset (void)
return; /* nothing to do */
}
#endif /* CONFIG_RTC_MPC5200 && CFG_CMD_DATE */
#endif

@ -70,6 +70,4 @@ void rtc_reset (void)
return; /* nothing to do */
}
/* ------------------------------------------------------------------------- */
#endif /* CONFIG_RTC_MPC8xx && CFG_CMD_DATE */
#endif

@ -141,4 +141,4 @@ static unsigned char bin2bcd (unsigned int n)
return (((n / 10) << 4) | (n % 10));
}
#endif /* CONFIG_RTC_PCF8563 && CFG_CMD_DATE */
#endif

@ -175,6 +175,4 @@ void rtc_reset (void)
rtc->RTCCON &= ~(0x08|0x01);
}
/* ------------------------------------------------------------------------- */
#endif /* CONFIG_RTC_S3C24X0 && CFG_CMD_DATE */
#endif

Loading…
Cancel
Save