diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-22 14:50:31 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 09:16:23 -0400 |
commit | 606c377849138e58e42ddcfad5c45a5aa55558a9 (patch) | |
tree | f9f822acbdee2aca781394534b1f167aa66f8d84 | |
parent | 8db73ec10630631e0b97ed900c8d00046883e374 (diff) | |
download | u-boot-606c377849138e58e42ddcfad5c45a5aa55558a9.zip u-boot-606c377849138e58e42ddcfad5c45a5aa55558a9.tar.gz u-boot-606c377849138e58e42ddcfad5c45a5aa55558a9.tar.bz2 |
nand_spl_simple: Drop CONFIG_SYS_NAND_4_ADDR_CYCLE support
This code is unused, drop it.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/mtd/nand/raw/nand_spl_simple.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/nand/raw/nand_spl_simple.c b/drivers/mtd/nand/raw/nand_spl_simple.c index 09e0535..ede7dbf 100644 --- a/drivers/mtd/nand/raw/nand_spl_simple.c +++ b/drivers/mtd/nand/raw/nand_spl_simple.c @@ -39,11 +39,6 @@ static int nand_command(int block, int page, uint32_t offs, this->cmd_ctrl(mtd, page_addr & 0xff, NAND_CTRL_ALE); /* A[16:9] */ this->cmd_ctrl(mtd, (page_addr >> 8) & 0xff, NAND_CTRL_ALE); /* A[24:17] */ -#ifdef CONFIG_SYS_NAND_4_ADDR_CYCLE - /* One more address cycle for devices > 32MiB */ - this->cmd_ctrl(mtd, (page_addr >> 16) & 0x0f, - NAND_CTRL_ALE); /* A[28:25] */ -#endif /* Latch in address */ this->cmd_ctrl(mtd, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE); |