Searched refs:code_len (Results 1 – 6 of 6) sorted by relevance
| /openbmc/u-boot/drivers/mtd/spi/ |
| H A D | fsl_espi_spl.c | 36 u32 offset, code_len, copy_len = 0; in fsl_spi_boot() local 51 code_len = CONFIG_SYS_SPI_FLASH_U_BOOT_SIZE; in fsl_spi_boot() 69 code_len = *(u32 *)(buf + ESPI_BOOT_IMAGE_SIZE); in fsl_spi_boot() 71 code_len = code_len - CONFIG_SPL_MAX_SIZE; in fsl_spi_boot() 75 while (copy_len <= code_len) { in fsl_spi_boot() 86 flush_cache(CONFIG_SYS_SPI_FLASH_U_BOOT_DST, code_len); in fsl_spi_boot()
|
| /openbmc/u-boot/board/freescale/common/ |
| H A D | sdhc_boot.c | 23 u32 blklen, code_offset, code_len, n; in mmc_get_env_addr() local 41 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr() 55 tmp += code_len * blklen; in mmc_get_env_addr() 57 tmp = code_offset + code_len; in mmc_get_env_addr() 70 *env_addr = code_offset + code_len; in mmc_get_env_addr()
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | fsl_esdhc_spl.c | 64 u32 offset, code_len; in mmc_boot() local 75 code_len = CONFIG_SYS_MMC_U_BOOT_SIZE; in mmc_boot() 118 code_len = 0; in mmc_boot() 121 code_len = (code_len << 8) + val; in mmc_boot() 123 code_len -= CONFIG_SYS_MMC_U_BOOT_OFFS; in mmc_boot() 129 blk_cnt = ALIGN(code_len, mmc->read_bl_len) / mmc->read_bl_len; in mmc_boot()
|
| /openbmc/u-boot/board/gdsys/p1022/ |
| H A D | sdhc_boot.c | 38 u32 blklen, code_offset, code_len, n; in mmc_get_env_addr() local 56 code_len = *(u32 *)(tmp_buf + ESDHC_BOOT_IMAGE_SIZE); in mmc_get_env_addr() 58 *env_addr = code_offset + code_len; in mmc_get_env_addr()
|
| H A D | controlcenterd-id.c | 412 u32 code_len, code_offset, target_addr, exec_entry; in compute_second_stage_hash() local 426 code_len = *(u32 *)(buf + ESDHC_BOOT_IMAGE_SIZE_OFS); in compute_second_stage_hash() 434 if (ccdm_mmc_read(mmc, code_offset, load_addr, code_len) < 0) in compute_second_stage_hash() 437 sha1_csum(load_addr, code_len, dst->digest); in compute_second_stage_hash() 790 u32 code_len, code_offset; in load_sd_key_program() local 805 code_len = *(u32 *)(buf + ESDHC_BOOT_IMAGE_SIZE_OFS); in load_sd_key_program() 807 code_offset += code_len; in load_sd_key_program()
|
| /openbmc/u-boot/arch/x86/cpu/ |
| H A D | mp_init.c | 223 int code_len; in load_sipi_vector() local 228 code_len = ap_start16_code_end - ap_start16; in load_sipi_vector() 230 code_len); in load_sipi_vector() 231 memcpy((void *)AP_DEFAULT_BASE, ap_start16, code_len); in load_sipi_vector()
|