]> git.ipfire.org Git - people/ms/u-boot.git/commit
arcv2: Set IOC aperture so it covers available DDR
authorAlexey Brodkin <abrodkin@synopsys.com>
Mon, 26 Jun 2017 08:46:47 +0000 (11:46 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Thu, 29 Jun 2017 16:34:10 +0000 (19:34 +0300)
commit97a63144a906827ad7e3c4ef18d641c2765b1ebc
tree7dc31ffb5054b7dd728bdcf656909928d291d8b4
parentef41e9d33e1ba524ef4bb0919959e2db92a2547c
arcv2: Set IOC aperture so it covers available DDR

We used to use the same memory layout and size for a couple of
boards and thus we just hardcoding IOC aperture start and size.

Now when we're getting more boards with more memory on board we
need to have an ability to set IOC so it matches real DDR layout
and size.

Even though it is not really a must but for simplicity we assume
IOC covers all the DDR we have, that gives us a chance to not
bother where DMA buffers are allocated - any part of DDR is OK.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/lib/cache.c