diff options
author | Johanna Schander <coreboot@mimoja.de> | 2020-01-04 04:05:02 +0100 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-01-07 20:50:03 +0000 |
commit | 1c9746ceaf683f97b584a78bde1ea13778ec7cdd (patch) | |
tree | a532672dfccf414fe4e1a26ff9fd9576e0025398 /src/soc/intel/common/block/systemagent | |
parent | 23063305dcee93317d1dd6b424de8a74f1c60d7e (diff) |
drivers/spi/flashconsole: Fix shadowing local variable
Commit c9b13594eb8d425e54a126b5c10e3f6fbc41528b removed the g_ prefix from
global variables, leaving the local "offset" variable shadowing the
global one. This commit partially reverts this by renaming one of the
occations and converting the flushing logic to work on the
global object.
Change-Id: I246ebdcfd3b973e6a4aa3c15fc5f32497dcf8398
Signed-off-by: Johanna Schander <coreboot@mimoja.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38171
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/common/block/systemagent')
0 files changed, 0 insertions, 0 deletions