diff options
| author | Simon Glass <[email protected]> | 2015-09-02 17:24:58 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2015-09-11 17:15:20 -0400 |
| commit | cf92e05c0135bc2b1a1b25a3218e31e6d79bad59 (patch) | |
| tree | 0ccaa4c6fb0edf61e473c58cfcba827c65d9ae15 /drivers/net | |
| parent | 6e295186c7fc8bf5be22a05f6ca9602f2bb507f2 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers/net')
| -rw-r--r-- | drivers/net/e1000.c | 1 | ||||
| -rw-r--r-- | drivers/net/fec_mxc.c | 1 | ||||
| -rw-r--r-- | drivers/net/rtl8169.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 7b830ff8c05..2ba03ed73e4 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -32,6 +32,7 @@ tested on both gig copper and gig fiber boards #include <common.h> #include <dm.h> #include <errno.h> +#include <memalign.h> #include <pci.h> #include "e1000.h" diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index bff5fd11197..79f6737e8e9 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -10,6 +10,7 @@ #include <common.h> #include <malloc.h> +#include <memalign.h> #include <net.h> #include <netdev.h> #include <miiphy.h> diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 7b6e20f30fb..ebd46b27e5f 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -44,6 +44,7 @@ #include <dm.h> #include <errno.h> #include <malloc.h> +#include <memalign.h> #include <net.h> #ifndef CONFIG_DM_ETH #include <netdev.h> |
