mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
storage: fix the source of register base
PD#155205: storage: fix the source of register base The register base get from dts now,no longer from macro. Change-Id: Ic763db5a9380396cfbfde0333d85ffb08c601713 Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
This commit is contained in:
@@ -2046,9 +2046,7 @@ int aml_nand_init(struct aml_nand_chip *aml_chip)
|
||||
slc_program_info = &new_nand_info->slc_program_info;
|
||||
|
||||
chip->IO_ADDR_R = chip->IO_ADDR_W =
|
||||
devm_ioremap_nocache(aml_chip->device,
|
||||
NAND_BASE_APB + P_NAND_BUF,
|
||||
sizeof(int));
|
||||
controller->reg_base + P_NAND_BUF;
|
||||
|
||||
chip->options |= NAND_SKIP_BBTSCAN;
|
||||
chip->options |= NAND_NO_SUBPAGE_WRITE;
|
||||
|
||||
Reference in New Issue
Block a user