]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/net/npe/IxOsalOsCacheMMU.c
imx6 SION bit has to be on for the pins that are used as ENET_REF_CLK
[karo-tx-uboot.git] / drivers / net / npe / IxOsalOsCacheMMU.c
1 /**
2  * @file IxOsalOsCacheMMU.c (linux)
3  *
4  * @brief Cache MemAlloc and MemFree.
5  *
6  *
7  * @par
8  * IXP400 SW Release version 1.5
9  *
10  * -- Copyright Notice --
11  *
12  * @par
13  * Copyright 2001-2005, Intel Corporation.
14  * All rights reserved.
15  *
16  * @par
17  * SPDX-License-Identifier:     BSD-3-Clause
18  * @par
19  * -- End of Copyright Notice --
20  */
21
22 #include "IxOsal.h"
23
24 #include <malloc.h>
25
26 /*
27  * Allocate on a cache line boundary (null pointers are
28  * not affected by this operation). This operation is NOT cache safe.
29  */
30 void *
31 ixOsalCacheDmaMalloc (UINT32 n)
32 {
33         return malloc(n);
34 }
35
36 /*
37  *
38  */
39 void
40 ixOsalCacheDmaFree (void *ptr)
41 {
42         free(ptr);
43 }