summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2017-07-13 13:31:08 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2017-08-02 07:11:52 (GMT)
commit60873f736e46c0b2fe80c8c0d322bcdbdb8acc63 (patch)
tree840f3ee40ca413a2648c7c795defce35f83293f4 /common
parent584dc4095ed2e5d70146c5cb220fac18645798d1 (diff)
downloadu-boot-fsl-qoriq-60873f736e46c0b2fe80c8c0d322bcdbdb8acc63.tar.xz
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>
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 19b8055..5915e50 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -340,7 +340,7 @@ static int reserve_round_4k(void)
}
#ifdef CONFIG_ARM
-static int reserve_mmu(void)
+__weak int reserve_mmu(void)
{
#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
/* reserve TLB table */