diff options
author | Tom Rini <trini@ti.com> | 2014-02-20 12:18:59 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-20 12:18:59 -0500 |
commit | 6853e6aa77b388998a5368b400aee3ae7776b1c2 (patch) | |
tree | e91dfbc15a79c452fa50d8896d5e8eb10aa1771d /drivers/net/npe/include/IxOsalOs.h | |
parent | 130fbeb1c51f19a2b81c4e27d23da735b5b235d4 (diff) | |
parent | 3e11350255d9c5d4bd03c2a65769da84c05d3294 (diff) | |
download | u-boot-imx-6853e6aa77b388998a5368b400aee3ae7776b1c2.zip u-boot-imx-6853e6aa77b388998a5368b400aee3ae7776b1c2.tar.gz u-boot-imx-6853e6aa77b388998a5368b400aee3ae7776b1c2.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'drivers/net/npe/include/IxOsalOs.h')
-rw-r--r-- | drivers/net/npe/include/IxOsalOs.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/net/npe/include/IxOsalOs.h b/drivers/net/npe/include/IxOsalOs.h deleted file mode 100644 index 6c66613..0000000 --- a/drivers/net/npe/include/IxOsalOs.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef IxOsalOs_H -#define IxOsalOs_H - -#ifndef IX_OSAL_CACHED -#error "Uncached memory not supported in linux environment" -#endif - -static inline unsigned long __v2p(unsigned long v) -{ - if (v < 0x40000000) - return (v & 0xfffffff); - else - return v; -} - -#define IX_OSAL_OS_MMU_VIRT_TO_PHYS(addr) __v2p((u32)addr) -#define IX_OSAL_OS_MMU_PHYS_TO_VIRT(addr) (addr) - -/* - * Data cache not enabled (hopefully) - */ -#define IX_OSAL_OS_CACHE_INVALIDATE(addr, size) -#define IX_OSAL_OS_CACHE_FLUSH(addr, size) -#define HAL_DCACHE_INVALIDATE(addr, size) -#define HAL_DCACHE_FLUSH(addr, size) - -#define __ixp42X /* sr: U-Boot needs this define */ - -#endif /* IxOsalOs_H */ - |