Ashok Reddy Soma 4d9b1afa41 spi: Fix manual relocation calling more times
When two instances of AXI QSPI with flash are added and tested
simultaneously the spi driver operations are relocated twice.
As a result code is accessing addresses outside of RAM when
relocated second time which is causing a crash.

Tested on Microblaze.

Similar change was done in past by:
commit f238b3f0fbc9 ("watchdog: dm: Support manual relocation for watchdogs")
commit 2588f2ddfd60 ("dm: sf: Add support for all targets which requires MANUAL_RELOC")
commit 1b4c2aa25bdf ("gpio: dm: Support manual relocation for gpio")

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2020-01-14 09:05:54 +01:00
..
2019-07-09 09:26:43 +03:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-12-15 11:44:24 +08:00
2019-12-15 11:44:24 +08:00
2018-11-27 21:06:53 +05:30
2018-12-03 10:44:10 -05:00
2019-06-10 17:59:49 +05:30
2019-06-11 10:42:48 +02:00
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2018-11-27 21:06:53 +05:30
2019-07-18 17:11:16 +05:30