My nephews corsa has developed a fault

it has no turbo kick below 3k then it will spool up after 3k for a very short time

bare in mins its a diesel and only revs till about 4k

there is no lights on and i tried unplugging the AFM to see if the power came back

any ideas ?