I'm using Linux 2.6.16 with mtd-snapshot-20060504. If mtd unlock function (do_xxlock_oneblock) is called with udelay=0 and CONFIG_MTD_XIP is defined, the xip_wait_for_operation() waits for 500000us. Why does it wait for 500ms if the unlock operation doesn't need any delay? Thanks in advance. Best Regards, Davide