1 /*=================================================================================
5 General Description: Limited Bootloader eSDHC Driver.
7 ===================================================================================
8 Copyright: 2004,2005,2006,2007,2008 FREESCALE, INC.
9 All Rights Reserved. This file contains copyrighted material.
10 Use of this file is restricted by the provisions of a
11 Freescale Software License Agreement, which has either
12 accompanied the delivery of this software in shrink wrap
13 form or been expressly executed between the parties.
18 Author (core ID) Date Number Description of Changes
19 ------------------------- ------------ ---------- --------------------------
23 Portability: Portable to other compilers or platforms.
25 ====================================================================================================*/
30 #include <pkgconf/system.h>
32 #define FLASH_DEBUG_MIN 1
33 #define FLASH_DEBUG_MED 2
34 #define FLASH_DEBUG_MAX 3
35 #define FLASH_DEBUG_LEVEL FLASH_DEBUG_MED
36 #define flash_dprintf(level, args...) \
38 if (FLASH_DEBUG_LEVEL >= level) \
42 #define CHECK_RUN_TIMES(n) { \
43 static int count = 0;\
45 diag_printf("%s: the loop gets the limitation, WRONG!\n", __FUNCTION__);break;}
47 #endif //__MXC_MMC_H__