]> git.baikalelectronics.ru Git - uboot.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)
commitac43c04f7623fa8adea1df19b20e923f70975df9
tree7dc31ffb5054b7dd728bdcf656909928d291d8b4
parent94b6280d9a8849659d23f419c8564cf73bb7de9b
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