summaryrefslogtreecommitdiff
path: root/arch/arm/lib/cache.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-08-31 17:38:02 -0400
committerTom Rini <trini@konsulko.com>2019-08-31 17:38:02 -0400
commit7967290f519ea6d3bb1272601210e8388f2658f7 (patch)
treef5ff4b95ab0ee1853f57353dabecde12c45b5844 /arch/arm/lib/cache.c
parent877294b56a52f1cb60bbfa7e4722fcc33451f7b2 (diff)
parent47e8ee6b39a47dc0bbde43049dc83dbc48dcdb56 (diff)
Merge branch '2019-08-30-master-imports'
- Assorted bug fixes
Diffstat (limited to 'arch/arm/lib/cache.c')
-rw-r--r--arch/arm/lib/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c
index 449544d11cf..463d283cb76 100644
--- a/arch/arm/lib/cache.c
+++ b/arch/arm/lib/cache.c
@@ -77,6 +77,7 @@ void noncached_init(void)
phys_addr_t start, end;
size_t size;
+ /* If this calculation changes, update board_f.c:reserve_noncached() */
end = ALIGN(mem_malloc_start, MMU_SECTION_SIZE) - MMU_SECTION_SIZE;
size = ALIGN(CONFIG_SYS_NONCACHED_MEMORY, MMU_SECTION_SIZE);
start = end - size;