ram_wait
ram_wait(fuc, addr, 0x0000000f, 0x00000000, 500000);
ram_wait(fuc, 0x137390, 0x00020000, 0x00020000, 64000);
ram_wait(fuc, 0x137390, 0x00000002, 0x00000002, 64000);
ram_wait(fuc, addr, 0x0000000f, 0x00000000, 500000);
ram_wait(fuc, 0x137390, 0x00020000, 0x00020000, 64000);
ram_wait(fuc, 0x137390, 0x00000002, 0x00000002, 64000);
ram_wait(fuc, 0x100710, 0x80000000, 0x80000000, 200000);
ram_wait(fuc, 0x137390, 0x00020000, 0x00020000, 64000);
ram_wait(fuc, 0x611200, 0x00000003, 0x00000000, 500000);
ram_wait(fuc, 0x004000, 0x00020000, 0x00020000, 64000);
ram_wait(fuc, 0x002504, 0x10, 0x10, 20000); /* XXX: or longer? */
ram_wait(hwsq, 0x00, 0x01); /* wait for fb disabled */
ram_wait(hwsq, 0x00, 0x00); /* wait for fb enabled */