summaryrefslogtreecommitdiff
path: root/board/phytec
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:05 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 14:02:35 -0500
commit9b4a205f454dd19687aaf9a22a5bc01164182a90 (patch)
treeeeca3b94aec1800823498c7a237ba67186214443 /board/phytec
parent220a3a44a339a32b3dae13122ec85ccaede5d988 (diff)
common: Move RAM-sizing functions to init.h
These functions relate to memory init so move them into the init header. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/phytec')
-rw-r--r--board/phytec/pcl063/pcl063.c1
-rw-r--r--board/phytec/phycore_am335x_r2/board.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/board/phytec/pcl063/pcl063.c b/board/phytec/pcl063/pcl063.c
index 96dd9e38f3..9e6940f9c7 100644
--- a/board/phytec/pcl063/pcl063.c
+++ b/board/phytec/pcl063/pcl063.c
@@ -6,6 +6,7 @@
* Copyright (C) 2015-2016 Stefan Roese <sr@denx.de>
*/
+#include <init.h>
#include <asm/arch/clock.h>
#include <asm/arch/crm_regs.h>
#include <asm/arch/mx6-pins.h>
diff --git a/board/phytec/phycore_am335x_r2/board.c b/board/phytec/phycore_am335x_r2/board.c
index 02d6c27cec..8964fb5dda 100644
--- a/board/phytec/phycore_am335x_r2/board.c
+++ b/board/phytec/phycore_am335x_r2/board.c
@@ -11,6 +11,7 @@
*/
#include <common.h>
+#include <init.h>
#include <spl.h>
#include <asm/arch/cpu.h>
#include <asm/arch/ddr_defs.h>