coreboot/src
Aaron Durbin 103ae043ea UPSTREAM: vboot/vbnv_flash: fix return value check for rdev_writeat()
The return value check was incorect and checking for failure
in the success path. Fix the return value check so that it
actually checks for success.

BUG=chrome-os-partner:56151
BRANCH=None
TEST=None

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16303
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>

Change-Id: Ie7960b89a916dec261015c97c3e0552be56b5b5d
Reviewed-on: https://chromium-review.googlesource.com/374468
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
2016-08-24 17:40:25 -07:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: arch/riscv: Add functions to read/write memory on behalf of supervisor/user mode 2016-08-24 17:40:20 -07:00
commonlib UPSTREAM: commonlib/region: allow empty mmap()/munmap() in region_device_ops 2016-08-16 03:08:37 -07:00
console UPSTREAM: console: Add write line routine 2016-08-14 19:50:25 -07:00
cpu UPSTREAM: src/cpu: Capitalize CPU, APIC and IOAPIC typo fix 2016-08-23 15:36:15 -07:00
device UPSTREAM: src/device: Capitalize CPU, RAM and ROM 2016-08-04 23:37:13 -07:00
drivers UPSTREAM: drivers/spi: be sure to call spi_init() before spi_flash_probe() 2016-08-23 15:36:01 -07:00
ec UPSTREAM: google/chromeec: Ensure data is ready before reading it 2016-08-22 23:26:37 -07:00
include UPSTREAM: memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-24 17:40:09 -07:00
lib UPSTREAM: memlayout: Ensure TIMESTAMP() region is big enough to avoid BUG() 2016-08-24 17:40:09 -07:00
mainboard UPSTREAM: arch/riscv: Implement the SBI again 2016-08-24 17:40:16 -07:00
northbridge UPSTREAM: src/northbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:36:13 -07:00
soc UPSTREAM: soc/intel/skylake: use SPI flash boot_device_rw() for ealy stages 2016-08-24 17:40:07 -07:00
southbridge UPSTREAM: src/southbridge: Remove unnecessary whitespace before "\n" and "\t" 2016-08-23 15:36:18 -07:00
superio UPSTREAM: superio/*: Relocate Kconfig to chip folder. 2016-08-14 13:26:19 -07:00
vboot UPSTREAM: vboot/vbnv_flash: fix return value check for rdev_writeat() 2016-08-24 17:40:25 -07:00
vendorcode UPSTREAM: drivers/elog: use region_device for NV storage 2016-08-22 00:11:48 -07:00
Kconfig UPSTREAM: arch/riscv: Print the page table structure after construction 2016-08-23 15:36:25 -07:00