
#define PALTFORM RK292X

#define RK_USB_EN
//#define RK_FLASH_BOOT_EN
//#define RK_SPI_BOOT_EN
#define RK_SDMMC_BOOT_EN
//#define RK_SDCARD_BOOT_EN
//#define DRIVERS_EFUSE
#define SDMMC_SDC_ID   2
#define EMMC_BOOT_ENABLE  1
//#define L2CACHE_ENABLE

//RK292X实测是 一个循环是17ns @ 600Mhz 2级优化
#define     CPU_DELAY_US(n)  volatile  uint32 i = n>>4;while (i--);

#define SD_FIFO_OFFSET    0x200
#define FIFO_DEPTH        (0x100)       //FIFO depth = 256 word

#define     L2CACHE_WAY_SIZE    1 //0b000:16KB,0b001:16KB,0b010:32KB,0b011:64KB,0b100:128KB,0b101:256KB,0b110:512KB
#define     L2CACHE_WAY_NUM     0 //0  8-way , 1  16-way


