commit | 552720eeaff59664f4111537e560cc115a6ebd0e | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Tue Aug 15 22:38:30 2017 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Aug 24 11:00:47 2017 +0800 |
tree | d3032345edff668058babc925364840845b35d34 | |
parent | 36ce02457114fe8b2a2f465972ecfb478fe36d2c [diff] |
x86: ich-spi: Move opcode registers configuration to another routine At present the ICH SPI opcode registers configuration is done in the ich_spi_remove() routine, a little bit weird but that's how current. Linux MTD driver works. This changes to move the opcode registers configuration to a separate routine ich_spi_config_opcode() which might be called by U-Boot itself as well. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>