Home
last modified time | relevance | path

Searched refs:nlocks (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/mach-at91/arm926ejs/
H A Deflash.c66 u32 id, size, nplanes, planesize, nlocks; in flash_init() local
93 nlocks = readl(&eefc->frr); /* word 4+nplanes */ in flash_init()
94 debug("nlocks=%u\n", nlocks); in flash_init()
96 if (nlocks > CONFIG_SYS_MAX_FLASH_SECT) { in flash_init()
99 nlocks); in flash_init()
100 nlocks = CONFIG_SYS_MAX_FLASH_SECT; in flash_init()
103 flash_info[0].sector_count = nlocks; in flash_init()
107 for (i=0; i<nlocks; i++) { in flash_init()