MCUfriend TFT LCD pin re-assignment

But it should work on nano.the lcd was showing id
4288 and was working on uno, now it is not working with nano. I checked all the connections. Does it need any change in library to make it work on nano or some register hardware tweeks? Thanks