Lines Matching refs:end

205 	int end;  in spl_spi_get_uboot_offs()  local
207 end = get_imageset_end(flash, QSPI_DEV); in spl_spi_get_uboot_offs()
208 end = ROUND(end, SZ_1K); in spl_spi_get_uboot_offs()
210 printf("Load image from QSPI 0x%x\n", end); in spl_spi_get_uboot_offs()
212 return end; in spl_spi_get_uboot_offs()
220 int end; in spl_mmc_get_uboot_raw_sector() local
222 end = get_imageset_end(mmc, MMC_DEV); in spl_mmc_get_uboot_raw_sector()
223 end = ROUND(end, SZ_1K); in spl_mmc_get_uboot_raw_sector()
225 printf("Load image from MMC/SD 0x%x\n", end); in spl_mmc_get_uboot_raw_sector()
227 return end / mmc->read_bl_len; in spl_mmc_get_uboot_raw_sector()
234 int end; in spl_nand_get_uboot_raw_page() local
236 end = get_imageset_end((void *)NULL, NAND_DEV); in spl_nand_get_uboot_raw_page()
237 end = ROUND(end, SZ_16K); in spl_nand_get_uboot_raw_page()
239 printf("Load image from NAND 0x%x\n", end); in spl_nand_get_uboot_raw_page()
241 return end; in spl_nand_get_uboot_raw_page()
248 int end; in spl_nor_get_uboot_base() local
255 end = get_imageset_end((void *)NULL, QSPI_NOR_DEV); in spl_nor_get_uboot_base()
256 if (end <= CONFIG_SYS_UBOOT_BASE) in spl_nor_get_uboot_base()
257 end = CONFIG_SYS_UBOOT_BASE; in spl_nor_get_uboot_base()
259 end = ROUND(end, SZ_1K); in spl_nor_get_uboot_base()
261 printf("Load image from NOR 0x%x\n", end); in spl_nor_get_uboot_base()
263 return end; in spl_nor_get_uboot_base()
275 ulong end; in spl_romapi_get_uboot_base() local
279 end = get_imageset_end((void *)(ulong)image_offset, ROM_API_DEV); in spl_romapi_get_uboot_base()
280 end = ROUND(end, SZ_1K); in spl_romapi_get_uboot_base()
282 printf("Load image from 0x%lx by ROM_API\n", end); in spl_romapi_get_uboot_base()
284 return end; in spl_romapi_get_uboot_base()