fixed cache link bug on gcc
@@ -16,7 +16,14 @@ | ||
16 | 16 | * |
17 | 17 | */ |
18 | 18 | |
19 | + /** | |
20 | + * @def KZCACAHE_ENABLE | |
21 | + * @brief If set (1) Cache Enable. only supported on VDSP++ | |
22 | + * @ingroup UserCongifuration | |
23 | + */ | |
24 | +#define KZCACAHE_ENABLE (0) | |
19 | 25 | |
26 | + | |
20 | 27 | /** |
21 | 28 | * @def KZFILE_MAX_OPEN |
22 | 29 | * @brief Max files that filesystem can open |
@@ -91,8 +91,10 @@ | ||
91 | 91 | mCycDevPol = idCycDevPol; |
92 | 92 | mTskDevPol = idTskDevPol; |
93 | 93 | |
94 | +#if KZCACAHE_ENABLE == 1 | |
94 | 95 | /*-- cache init --*/ |
95 | 96 | kzdev_cache_ini(); |
97 | +#endif | |
96 | 98 | |
97 | 99 | /*-- mmc init --*/ |
98 | 100 | kzdev_mmc_att_ini(); |