diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2019-04-19 10:21:14 +0930 |
---|---|---|
committer | Andrew Jeffery <andrew@aj.id.au> | 2019-04-19 10:26:52 +0930 |
commit | 9cd6f6c377d4eb61293f0385e2ffbcb2c731dbed (patch) | |
tree | 7ac4c43fd99dc031e04d1fc59d8c11253e32937a /drivers/hwmon/pmbus/pmbus.h | |
parent | bc06c97c4df7e9348ae0b8a1a5395caa06f55427 (diff) | |
download | talos-obmc-linux-9cd6f6c377d4eb61293f0385e2ffbcb2c731dbed.tar.gz talos-obmc-linux-9cd6f6c377d4eb61293f0385e2ffbcb2c731dbed.zip |
Revert "mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer"
This reverts commit cb8980080ccb7879c5a8ef0e3efa783c9288d907.
From Milton:
> NACK
>
> [The] justifcation is false. The routine reads the whole buffer
> because it calls the _rep routine and takes the size.
>
> In addition, the comment just before aspeed_smc_read_from_ahb
> tells why memcpy_fromio and memcpy_toio are broken on 32 bit
> arm, and this is still the case judging from the recent bug
> reportfrom a Nuvoton user [1].
>
> [1] https://github.com/openbmc/openbmc/issues/3521
OpenBMC-Staging-Count: 1
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'drivers/hwmon/pmbus/pmbus.h')
0 files changed, 0 insertions, 0 deletions