mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
tree/: Rename ERROR_FATAL to ERROR_FLASHROM_FATAL
Change-Id: I51ee789f9a1443bfff1e3c85c9b40b5023db6062 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/68776 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:

committed by
Felix Singer

parent
d127668cae
commit
80b1024dac
@ -656,7 +656,7 @@ int sb600_probe_spi(const struct programmer_cfg *cfg, struct pci_dev *dev)
|
||||
/* Physical memory has to be mapped at page (4k) boundaries. */
|
||||
sb600_spibar = rphysmap("SB600 SPI registers", tmp & 0xfffff000, 0x1000);
|
||||
if (sb600_spibar == ERROR_PTR)
|
||||
return ERROR_FATAL;
|
||||
return ERROR_FLASHROM_FATAL;
|
||||
|
||||
/* The low bits of the SPI base address are used as offset into
|
||||
* the mapped page.
|
||||
@ -798,10 +798,10 @@ int sb600_probe_spi(const struct programmer_cfg *cfg, struct pci_dev *dev)
|
||||
}
|
||||
|
||||
if (handle_speed(cfg, dev, amd_gen, sb600_spibar) != 0)
|
||||
return ERROR_FATAL;
|
||||
return ERROR_FLASHROM_FATAL;
|
||||
|
||||
if (handle_imc(cfg, dev, amd_gen) != 0)
|
||||
return ERROR_FATAL;
|
||||
return ERROR_FLASHROM_FATAL;
|
||||
|
||||
struct sb600spi_data *data = calloc(1, sizeof(*data));
|
||||
if (!data) {
|
||||
|
Reference in New Issue
Block a user