Print this page
XXXX introduce drv_sectohz

*** 332,343 **** #define BSC_IMAGE_MAX_SIZE (0x20000 + sizeof (lom_prog_data_t)) #define BSC_PROBE_FAULT_LIMIT 8 /* Tries before declaring lom dead */ ! #define BSC_EVENT_POLL_NORMAL (drv_usectohz(1000000)) /* 1 second */ ! #define BSC_EVENT_POLL_FAULTY (drv_usectohz(10000000)) /* 10 second */ #define BSC_FAILURE_RETRY_LIMIT 5 /* Access retries before giving up */ #define BSC_ERASE_RETRY_LIMIT 5 /* Erase retries */ #define BSC_PAGE_RETRY_LIMIT 5 /* Page write retries */ --- 332,343 ---- #define BSC_IMAGE_MAX_SIZE (0x20000 + sizeof (lom_prog_data_t)) #define BSC_PROBE_FAULT_LIMIT 8 /* Tries before declaring lom dead */ ! #define BSC_EVENT_POLL_NORMAL drv_sectohz(1) ! #define BSC_EVENT_POLL_FAULTY drv_sectohz(10) #define BSC_FAILURE_RETRY_LIMIT 5 /* Access retries before giving up */ #define BSC_ERASE_RETRY_LIMIT 5 /* Erase retries */ #define BSC_PAGE_RETRY_LIMIT 5 /* Page write retries */