1 comment:
File src/mainboard/google/asurada/romstage.c:
static bool read_calibration_data_from_flash(struct dramc_param *dparam)
{
const size_t length = sizeof(*dparam);
size_t ret = fmap_read_area(CALIBRATION_REGION, dparam, length);
printk(BIOS_DEBUG, "read data from flash, ret=%#zx, length=%#zx\n", ret, length);
return ret == length;
}
static bool write_calibration_data_to_flash(const struct dramc_param *dparam)
{
const size_t length = sizeof(*dparam);
size_t ret = fmap_overwrite_area(CALIBRATION_REGION, dparam, length);
printk(BIOS_DEBUG, "write data from flash, ret=%#zx, length=%#zx\n", ret, length);
return ret == length;
}
Why can’t these be SoC functions?
To view, visit change 44568. To unsubscribe, or for help writing mail filters, visit settings.