From 9edefc27760b00309d482d94fdc23bf5d2ea2c42 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:37 -0700 Subject: common: Move some cache and MMU functions out of common.h These functions belong in cpu_func.h. Another option would be cache.h but that code uses driver model and we have not moved these cache functions to use driver model. Since they are CPU-related it seems reasonable to put them here. Move them over. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- post/cpu/mpc83xx/ecc.c | 1 + post/lib_powerpc/cpu.c | 1 + 2 files changed, 2 insertions(+) (limited to 'post') diff --git a/post/cpu/mpc83xx/ecc.c b/post/cpu/mpc83xx/ecc.c index 03b6d65fe9..65a490d357 100644 --- a/post/cpu/mpc83xx/ecc.c +++ b/post/cpu/mpc83xx/ecc.c @@ -9,6 +9,7 @@ */ #include +#include #include #include #include diff --git a/post/lib_powerpc/cpu.c b/post/lib_powerpc/cpu.c index 6713039330..8506fd6b71 100644 --- a/post/lib_powerpc/cpu.c +++ b/post/lib_powerpc/cpu.c @@ -5,6 +5,7 @@ */ #include +#include /* * CPU test -- cgit