diff options
author | Tom Rini <trini@konsulko.com> | 2019-01-18 13:40:41 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-18 13:40:41 -0500 |
commit | c4d323793ba2e0616d93ca104e1e2b9a9fbccf9b (patch) | |
tree | a79b7b8282e29e820022d037b6f6f2c1d5d52c0d /env | |
parent | f83ef0dac83110d20389eb71f09285f009f3d198 (diff) | |
parent | 3d5931e5986a49c44cdab845c6751d845812e8d8 (diff) |
Merge branch '2019-01-18-master-imports'
- Bugfix for SPI environment optimization
- Spelling fixes
- Remove some defconfigs per various maintainers
- Minor db410, bananapi r2 fixes
- Bump QEMU to v3.1.0 for most platforms
Diffstat (limited to 'env')
-rw-r--r-- | env/sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ static int spi_flash_read_env(struct spi_flash *flash, u32 offset, size_t len, u32 addr = 0; u32 page_size = flash->page_size; - memset(buf, 0x0, len); + memset(buf, 0xff, len); for (int i = 0; i < len / page_size; ++i) { int ret = spi_flash_read(flash, offset, page_size, &((char *)buf)[addr]); |