On 18:21 Thu 01 Mar , Asen Chavdarov Dimov wrote: > FIXME: part of or no data is written. File copy ends > with message: "atmel_mci@atmel_mci0: command/data timeout" > > Signed-off-by: Asen Chavdarov Dimov <dimov@xxxxxxxxxx> > --- > arch/arm/boards/pm9g45/init.c | 17 ++++++++++++++++- > arch/arm/configs/pm9g45_defconfig | 34 +++++++++++++++++++++++++++++++--- > 2 files changed, 47 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boards/pm9g45/init.c b/arch/arm/boards/pm9g45/init.c > index 9eba12a..257e5e2 100644 > --- a/arch/arm/boards/pm9g45/init.c > +++ b/arch/arm/boards/pm9g45/init.c > @@ -77,6 +77,21 @@ static void pm_add_device_nand(void) > at91_add_device_nand(&nand_pdata); > } > > +#if defined(CONFIG_MCI_ATMEL) > +static struct atmel_mci_platform_data __initdata mci_data = { > + .bus_width = 4, > + .wp_pin = 0, > + .detect_pin = AT91_PIN_PD6, > +}; > + > +static void add_device_mci(void) > +{ > + at91_add_device_mci(0, &mci_data); > +} > +#else > +static void add_device_mci(void) {} please the nale of the function board specifc Best Regards, J. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox