possibly embarrassing myself here, but i just ran across this in edb93xx.c, which looks ... weird, a mixture of "EGPIO" and "EPGIO" toward the end of that source file:
... snip ... int board_mmc_init(bd_t *bis) { struct gpio_regs *regs = (struct gpio_regs *)GPIO_BASE; ep93xx_set_epgio(CONFIG_MMC_SPI_CS_EPGIO); ep93xx_dir_epgio_out(CONFIG_MMC_SPI_CS_EPGIO); #ifdef CONFIG_MMC_SPI_POWER_EGPIO ep93xx_dir_epgio_out(CONFIG_MMC_SPI_POWER_EGPIO); ep93xx_set_epgio(CONFIG_MMC_SPI_POWER_EGPIO); #elif defined(CONFIG_MMC_SPI_NPOWER_EGPIO) ep93xx_dir_epgio_out(CONFIG_MMC_SPI_NPOWER_EGPIO); ep93xx_clear_epgio(CONFIG_MMC_SPI_NPOWER_EGPIO); #endif ... snip ... is it just me, or does anyone else find that odd? all occurrences of the string "epgio" are entirely contained within that single source file: $ grep -ri EPGIO * board/cirrus/edb93xx/edb93xx.c:static void ep93xx_set_epgio(unsigned num) board/cirrus/edb93xx/edb93xx.c:static void ep93xx_clear_epgio(unsigned num) board/cirrus/edb93xx/edb93xx.c:static void ep93xx_dir_epgio_out(unsigned num) board/cirrus/edb93xx/edb93xx.c: ep93xx_clear_epgio(slave->cs); board/cirrus/edb93xx/edb93xx.c: ep93xx_set_epgio(slave->cs); board/cirrus/edb93xx/edb93xx.c:#ifndef CONFIG_MMC_SPI_CS_EPGIO board/cirrus/edb93xx/edb93xx.c:# define CONFIG_MMC_SPI_CS_EPGIO 4 board/cirrus/edb93xx/edb93xx.c: ep93xx_set_epgio(CONFIG_MMC_SPI_CS_EPGIO); board/cirrus/edb93xx/edb93xx.c: ep93xx_dir_epgio_out(CONFIG_MMC_SPI_CS_EPGIO); board/cirrus/edb93xx/edb93xx.c: ep93xx_dir_epgio_out(CONFIG_MMC_SPI_POWER_EGPIO); board/cirrus/edb93xx/edb93xx.c: ep93xx_set_epgio(CONFIG_MMC_SPI_POWER_EGPIO); board/cirrus/edb93xx/edb93xx.c: ep93xx_dir_epgio_out(CONFIG_MMC_SPI_NPOWER_EGPIO); board/cirrus/edb93xx/edb93xx.c: ep93xx_clear_epgio(CONFIG_MMC_SPI_NPOWER_EGPIO); board/cirrus/edb93xx/edb93xx.c: struct mmc *mmc = mmc_spi_init(0, CONFIG_MMC_SPI_CS_EPGIO, $ am i just being an idiot in not knowing that that means? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot