[U-Boot] [PATCH] spi: Fix manual relocation calling more times

Jagan Teki jagan at amarulasolutions.com
Tue Sep 17 12:41:51 UTC 2019


On Tue, Sep 17, 2019 at 4:52 PM Michal Simek <michal.simek at xilinx.com> wrote:
>
> From: Ashok Reddy Soma <ashok.reddy.soma at xilinx.com>
>
> 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 at xilinx.com>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---

Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>

Would like to take it coming MW? since we are close to release.


More information about the U-Boot mailing list