X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fnet.h;h=ee11f82ccc87acf426b95f78337bb2de52d77abd;hb=e7075bb7536e91acd5da7940d811aab00185df14;hp=556078518b584dfe14fcba5298accd1466a100bf;hpb=f6add132f6d7f45eb7d4b3839513c38bfb28eb08;p=u-boot diff --git a/include/net.h b/include/net.h index 556078518b..ee11f82ccc 100644 --- a/include/net.h +++ b/include/net.h @@ -16,6 +16,7 @@ #include #endif /* CONFIG_8xx */ +#include #include /* for nton* / ntoh* stuff */ @@ -31,7 +32,7 @@ # define PKTBUFSRX 4 #endif -#define PKTALIGN 32 +#define PKTALIGN ARCH_DMA_MINALIGN /* IPv4 addresses are always 32 bits in size */ typedef u32 IPaddr_t;