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 --- drivers/fpga/zynqpl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/fpga') diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c index 069c63ba456..21624f715ba 100644 --- a/drivers/fpga/zynqpl.c +++ b/drivers/fpga/zynqpl.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3 From 1eb69ae498567bb0b62ee554647204e8245cdacc Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:39 -0700 Subject: common: Move ARM cache operations out of common.h These functions are CPU-related and do not use driver model. Move them to cpu_func.h Signed-off-by: Simon Glass Reviewed-by: Daniel Schwierzeck Reviewed-by: Tom Rini --- drivers/fpga/versalpl.c | 1 + drivers/fpga/zynqmppl.c | 1 + 2 files changed, 2 insertions(+) (limited to 'drivers/fpga') diff --git a/drivers/fpga/versalpl.c b/drivers/fpga/versalpl.c index 4bcc2132432..6c69ab7802c 100644 --- a/drivers/fpga/versalpl.c +++ b/drivers/fpga/versalpl.c @@ -5,6 +5,7 @@ */ #include +#include #include #include #include diff --git a/drivers/fpga/zynqmppl.c b/drivers/fpga/zynqmppl.c index d129b5459c0..4a826e4a71a 100644 --- a/drivers/fpga/zynqmppl.c +++ b/drivers/fpga/zynqmppl.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3