microblaze: Fix lmb memory initialization
authorMichal Simek <michal.simek@xilinx.com>
Wed, 25 Sep 2019 07:11:48 +0000 (09:11 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:55:11 +0000 (09:55 +0200)
commita750ded4667496b367bc1275246752a3092b2ca2
treec4dab1235acf4595b25e32cd24997bbfbef0bd07
parent9d877c2f5404be82d90e8bc624a20a35d21e429d
microblaze: Fix lmb memory initialization

Microblaze as Arm is using multiple memory banks which are read from DT
that's why there is a need to initialized LMB based on bd->bi_dram[].
Without this fix memory base/size is all the time 0 and image relocation is
not possible.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/image.c