diff options
author | Simon Glass <sjg@chromium.org> | 2015-09-02 17:24:58 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-11 17:15:20 -0400 |
commit | cf92e05c0135bc2b1a1b25a3218e31e6d79bad59 (patch) | |
tree | 0ccaa4c6fb0edf61e473c58cfcba827c65d9ae15 /board | |
parent | 6e295186c7fc8bf5be22a05f6ca9602f2bb507f2 (diff) | |
download | u-boot-imx-cf92e05c0135bc2b1a1b25a3218e31e6d79bad59.zip u-boot-imx-cf92e05c0135bc2b1a1b25a3218e31e6d79bad59.tar.gz u-boot-imx-cf92e05c0135bc2b1a1b25a3218e31e6d79bad59.tar.bz2 |
Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header
Now that we have a new header file for cache-aligned allocation, we should
move the stack-based allocation macro there also.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/raspberrypi/rpi/rpi.c | 1 | ||||
-rw-r--r-- | board/samsung/common/misc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index d21750e..6d7be11 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -10,6 +10,7 @@ #include <fdt_support.h> #include <fdt_simplefb.h> #include <lcd.h> +#include <memalign.h> #include <mmc.h> #include <asm/gpio.h> #include <asm/arch/mbox.h> diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index f0d69d4..e0e2c48 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -12,6 +12,7 @@ #include <errno.h> #include <version.h> #include <malloc.h> +#include <memalign.h> #include <linux/sizes.h> #include <asm/arch/cpu.h> #include <asm/gpio.h> |