I am thinking if we swap some address lines in the RAM chip than physically the data will store at a different location and if we read from same location the data contents will be the same, it just come from different location.
Similarly, if we swap some data lines than the data bits will be swap on physical location when writing the data but if we read the data with same swap than we get the same data in firmware.
If there is only one RAM chip in the PCB design then we can swap address lines and also swap data lines according to the logic above. What is your say on it ?