On 01/05/2012 23:09, Marek Vasut wrote: > Signed-off-by: Marek Vasut <ma...@denx.de> > Cc: Detlev Zundel <d...@denx.de> > Cc: Fabio Estevam <fabio.este...@freescale.com> > Cc: Stefano Babic <sba...@denx.de> > Cc: Wolfgang Denk <w...@denx.de> > --- > board/denx/m28evk/m28evk.c | 20 +++++++++++++++++++- > board/denx/m28evk/spl_boot.c | 8 ++++++-- > 2 files changed, 25 insertions(+), 3 deletions(-) > > diff --git a/board/denx/m28evk/m28evk.c b/board/denx/m28evk/m28evk.c > index 53df476..3d28ea8 100644 > --- a/board/denx/m28evk/m28evk.c > +++ b/board/denx/m28evk/m28evk.c > @@ -90,6 +90,8 @@ int board_mmc_init(bd_t *bis) > { > /* Configure WP as input. */ > gpio_direction_input(MX28_PAD_AUART2_CTS__GPIO_3_10); > + /* Turn on the power to the card. */ > + gpio_direction_output(MX28_PAD_PWM3__GPIO_3_28, 0); > > return mxsmmc_initialize(bis, 0, m28_mmc_wp); > } > @@ -103,10 +105,18 @@ int board_mmc_init(bd_t *bis) > > int fecmxc_mii_postcall(int phy) > { > +#if defined(CONFIG_DENX_M28_V11) || defined(CONFIG_DENX_M28_V10)
Do we really have no other way to get the board version ? We can use it if we have no other chance, but it seems quite nasty. Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot