Hi Christian, On Tue, Jun 05, 2012 at 15:38:53, Christian Riesch wrote: > Hi, > > On Fri, Jun 1, 2012 at 3:48 PM, Prabhakar Lad <[email protected]> wrote: > > From: Rajashekhara, Sudhakar <[email protected]> > > > > According to DA850/OMAP-L138 schematics, GP2[6] line has to be driven > > high for RMII mode to work. In RMII mode, SPI flash becomes un-usable. > > But during testing it was found out that, driving GP2[6] low also > > enables RMII and in this configuration SPI flash is also accessible. > > How about just removing all the code that is related to GP2[6]? > There's a pull-down resistor on the board and the pin is high > impedance by default. > Yes, this patch is not required I'll drop this patch.
Thx, --Prabhakar Lad > Regards, Christian > > > > > Signed-off-by: Rajashekhara, Sudhakar <[email protected]> > > Signed-off-by: Lad, Prabhakar <[email protected]> > > Signed-off-by: Hadli, Manjunath <[email protected]> > > --- > > board/davinci/da8xxevm/da850evm.c | 6 +++--- > > 1 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/board/davinci/da8xxevm/da850evm.c > > b/board/davinci/da8xxevm/da850evm.c > > index 004d5ad..82d707f 100644 > > --- a/board/davinci/da8xxevm/da850evm.c > > +++ b/board/davinci/da8xxevm/da850evm.c > > @@ -438,10 +438,10 @@ int rmii_hw_init(void) > > CONFIG_SYS_I2C_EXPANDER_ADDR); > > } > > > > - /* Set the output as high */ > > - temp = REG(GPIO_BANK2_REG_SET_ADDR); > > + /* Set the output as low */ > > + temp = REG(GPIO_BANK2_REG_CLR_ADDR); > > temp |= (0x01 << 6); > > - REG(GPIO_BANK2_REG_SET_ADDR) = temp; > > + REG(GPIO_BANK2_REG_CLR_ADDR) = temp; > > > > /* Set the GPIO direction as output */ > > temp = REG(GPIO_BANK2_REG_DIR_ADDR); > > -- > > 1.7.4.1 > > > > _______________________________________________ > > U-Boot mailing list > > [email protected] > > http://lists.denx.de/mailman/listinfo/u-boot > _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

