X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fsystemace.c;h=7d82c27c6edd7d35c9b15fc3ec6f62dce4f035bb;hb=fc9970137c8f187b5938e4926224e0f3d46c3476;hp=3848d9c59c24fcbc3beae3f39ffd97ec676b3ab6;hpb=f6d3faae792be848567688df7ea3f803c25af5b2;p=oweals%2Fu-boot.git diff --git a/drivers/systemace.c b/drivers/systemace.c index 3848d9c59c..7d82c27c6e 100644 --- a/drivers/systemace.c +++ b/drivers/systemace.c @@ -211,10 +211,16 @@ static unsigned long systemace_read(int dev, unsigned long start, /* Write sector count | ReadMemCardData. */ ace_writew((trans & 0xff) | 0x0300, 0x14); +/* + * For FPGA configuration via SystemACE is reset unacceptable + * CFGDONE bit in STATUSREG is not set to 1. + */ +#ifndef SYSTEMACE_CONFIG_FPGA /* Reset the configruation controller */ val = ace_readw(0x18); val |= 0x0080; ace_writew(val, 0x18); +#endif retry = trans * 16; while (retry > 0) {