Commit 60873f736e46c0b2fe80c8c0d322bcdbdb8acc63

Authored by Siva Durga Prasad Paladugu
Committed by Michal Simek
1 parent 584dc4095e

common: board_f: Make reserve_mmu a weak function

Make reserve_mmu a weak so that it provides an option
to customize this routine as per platform need

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff

... ... @@ -340,7 +340,7 @@
340 340 }
341 341  
342 342 #ifdef CONFIG_ARM
343   -static int reserve_mmu(void)
  343 +__weak int reserve_mmu(void)
344 344 {
345 345 #if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
346 346 /* reserve TLB table */
... ... @@ -286,6 +286,7 @@
286 286 */
287 287 int arch_fixup_fdt(void *blob);
288 288  
  289 +int reserve_mmu(void);
289 290 /* common/flash.c */
290 291 void flash_perror (int);
291 292