Skip to content

Commit

Permalink
nand: mtd: increase the driver strength level [1/1]
Browse files Browse the repository at this point in the history
PD#165090

Problem:
driver strength of nand is too weak

Solution:
increase the ds level from 1 to 3

Verify:
g12b skt

Change-Id: I3c5ef4a163e7c2d8d4eead9d332701b3a3d50261
Signed-off-by: Yi Zeng <[email protected]>
  • Loading branch information
Yi Zeng authored and xiaobo gu committed Jun 25, 2018
1 parent 63b6049 commit ebb40b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/amlogic_mtd/aml_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ static void inline nand_get_chip(void )
AMLNF_SET_REG_MASK(P_PAD_PULL_UP_REG0, 0x1F00);
AMLNF_WRITE_REG(P_PERIPHS_PIN_MUX_0, 0x11111111);
AMLNF_WRITE_REG(P_PERIPHS_PIN_MUX_1, 0x22122222);
if (cpu_id.family_id >= MESON_CPU_MAJOR_ID_G12A) {
if (cpu_id.family_id == MESON_CPU_MAJOR_ID_G12A) {
if (cpu_id.chip_rev == 0xA)
writel(0x55555555, P_PAD_DS_REG0A);
else if (cpu_id.chip_rev == 0xB)
Expand Down

0 comments on commit ebb40b9

Please sign in to comment.