/openbmc/u-boot/env/ |
H A D | common.c | 63 if (sizeof(default_environment) > ENV_SIZE) { in set_default_env() 116 if (crc32(0, ep->data, ENV_SIZE) != crc) { in env_import() 122 if (himport_r(&env_htab, (char *)ep->data, ENV_SIZE, '\0', 0, 0, in env_import() 165 crc1_ok = crc32(0, tmp_env1->data, ENV_SIZE) == in env_import_redund() 167 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == in env_import_redund() 208 len = hexport_r(&env_htab, '\0', 0, &res, ENV_SIZE, 0, NULL); in env_export() 214 env_out->crc = crc32(0, env_out->data, ENV_SIZE); in env_export()
|
H A D | nvram.c | 95 uchar data[ENV_SIZE]; 98 nvram_read(data, CONFIG_ENV_ADDR + sizeof(ulong), ENV_SIZE); 100 if (crc32(0, data, ENV_SIZE) == crc) { 103 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) {
|
H A D | flash.c | 84 crc1_ok = crc32(0, flash_addr->data, ENV_SIZE) == flash_addr->crc; in env_flash_init() 86 crc32(0, flash_addr_new->data, ENV_SIZE) == flash_addr_new->crc; in env_flash_init() 226 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_flash_init() 325 crc32(0, flash_addr_new->data, ENV_SIZE) == flash_addr_new->crc) { in env_flash_load()
|
H A D | eeprom.c | 109 len = ENV_SIZE; in env_eeprom_load() 159 len = ENV_SIZE; in env_eeprom_load()
|
H A D | remote.c | 27 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_remote_init()
|
H A D | nand.c | 72 crc2_ok = crc32(0, tmp_env2->data, ENV_SIZE) == tmp_env2->crc; in env_nand_init() 75 crc1_ok = crc32(0, tmp_env1->data, ENV_SIZE) == tmp_env1->crc; in env_nand_init()
|
H A D | sf.c | 300 if (crc32(0, env_ptr->data, ENV_SIZE) == env_ptr->crc) { in env_sf_init()
|
H A D | Kconfig | 487 config ENV_SIZE config 665 config ENV_SIZE config
|
/openbmc/u-boot/tools/ |
H A D | envcrc.c | 58 #define ENV_SIZE (CONFIG_ENV_SIZE - ENV_HEADER_SIZE) macro 76 unsigned int datasize = ENV_SIZE; in main()
|
/openbmc/u-boot/include/ |
H A D | environment.h | 145 #define ENV_SIZE (CONFIG_ENV_SIZE - ENV_HEADER_SIZE) macro 152 unsigned char data[ENV_SIZE]; /* Environment data */
|
/openbmc/u-boot/tools/env/ |
H A D | fw_env.c | 88 #define ENV_SIZE usable_envsize macro 405 if (nxt >= &environment.data[ENV_SIZE]) { in fw_getenv() 431 if (nxt >= &default_environment[ENV_SIZE]) { in fw_getdefenv() 469 if (nxt >= &environment.data[ENV_SIZE]) { in fw_printenv() 514 *environment.crc = crc32(0, (uint8_t *) environment.data, ENV_SIZE); in fw_env_flush() 542 if (nxt >= &environment.data[ENV_SIZE]) { in fw_env_write() 629 if (len > (&environment.data[ENV_SIZE] - env)) { in fw_env_write() 1435 crc0 = crc32(0, (uint8_t *)environment.data, ENV_SIZE); in fw_env_open() 1492 crc1 = crc32(0, (uint8_t *)redundant->data, ENV_SIZE); in fw_env_open()
|
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/ |
H A D | Kconfig | 15 config ENV_SIZE config
|
/openbmc/u-boot/board/theobroma-systems/lion_rk3368/ |
H A D | Kconfig | 15 config ENV_SIZE config
|
/openbmc/u-boot/board/AndesTech/ax25-ae350/ |
H A D | Kconfig | 18 config ENV_SIZE config
|
/openbmc/u-boot/cmd/ |
H A D | nvedit.c | 139 rcode, (ulong)ENV_SIZE); in do_env_print() 993 &res, ENV_SIZE, argc, argv); in do_env_export() 1002 size ? size - offsetof(env_t, data) : ENV_SIZE); in do_env_export()
|