Searched hist:"2 c7db7c39cf8dacd95f5cbc6511ae0acc687a12d" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | spi-uclass.c | 2c7db7c39cf8dacd95f5cbc6511ae0acc687a12d Tue Sep 17 06:11:02 UTC 2019 Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> UPSTREAM: 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")
Change-Id: Ic807bfcd2703807e91a8d633d8bfb198d3e41266 Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 4d9b1afa415ddf998f6f40283f95770106cef35b)
|