mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "driver: nand: qpic_nand: Fix Erase address configuration."
This commit is contained in:
commit
a916a1687a
1 changed files with 1 additions and 0 deletions
|
|
@ -3844,6 +3844,7 @@ nand_result_t qpic_nand_blk_erase(struct mtd_info *mtd, uint32_t page)
|
|||
* to do it again here.
|
||||
*/
|
||||
cfg.addr0 = page << 16;
|
||||
cfg.addr1 = (page >> 16) & 0xffff;
|
||||
cfg.cmd = 0xA;
|
||||
cfg.cmd |= (QPIC_SPI_WP_SET | QPIC_SPI_HOLD_SET |
|
||||
QPIC_SPI_TRANSFER_MODE_X1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue