projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.denx.de/u-boot-fsl-qoriq
[oweals/u-boot.git]
/
arch
/
arm
/
lib
/
cache.c
diff --git
a/arch/arm/lib/cache.c
b/arch/arm/lib/cache.c
index d330b09434a46df1ab6505bf8b46c54e90ccfa21..7683386ad97b0ac742fe98e1d5c86749433b7934 100644
(file)
--- a/
arch/arm/lib/cache.c
+++ b/
arch/arm/lib/cache.c
@@
-10,10
+10,6
@@
#include <common.h>
#include <malloc.h>
#include <common.h>
#include <malloc.h>
-#ifndef CONFIG_SYS_CACHELINE_SIZE
-#define CONFIG_SYS_CACHELINE_SIZE 32
-#endif
-
/*
* Flush range from all levels of d-cache/unified-cache.
* Affects the range [start, start + size - 1].
/*
* Flush range from all levels of d-cache/unified-cache.
* Affects the range [start, start + size - 1].
@@
-111,7
+107,7
@@
phys_addr_t noncached_alloc(size_t size, size_t align)
}
#endif /* CONFIG_SYS_NONCACHED_MEMORY */
}
#endif /* CONFIG_SYS_NONCACHED_MEMORY */
-#if
defined(CONFIG_
SYS_THUMB_BUILD)
+#if
CONFIG_IS_ENABLED(
SYS_THUMB_BUILD)
void invalidate_l2_cache(void)
{
unsigned int val = 0;
void invalidate_l2_cache(void)
{
unsigned int val = 0;