am 54c90a14: am 752115dd: Merge "Add Silvermont architecture cache sizes"

* commit '54c90a1415a5dd1bd81e3994ff586adb5cda56b2':
  Add Silvermont architecture cache sizes
This commit is contained in:
Elliott Hughes 2014-05-05 22:03:22 +00:00 committed by Android Git Automerger
commit b389440c8b

View file

@ -17,8 +17,15 @@
* Contributed by: Intel Corporation
*/
#if defined(__slm__)
/* Values are optimized for Silvermont */
#define SHARED_CACHE_SIZE (1024*1024) /* Silvermont L2 Cache */
#define DATA_CACHE_SIZE (24*1024) /* Silvermont L1 Data Cache */
#else
/* Values are optimized for Atom */
#define SHARED_CACHE_SIZE (512*1024) /* Atom L2 Cache */
#define DATA_CACHE_SIZE (24*1024) /* Atom L1 Data Cache */
#define SHARED_CACHE_SIZE (512*1024) /* Atom L2 Cache */
#define DATA_CACHE_SIZE (24*1024) /* Atom L1 Data Cache */
#endif
#define SHARED_CACHE_SIZE_HALF (SHARED_CACHE_SIZE / 2)
#define DATA_CACHE_SIZE_HALF (DATA_CACHE_SIZE / 2)