9
0
Fork 0

sysmobts: disable NAND write protect where needed

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
Jan Luebbe 2015-06-14 12:08:31 +02:00
parent 28d0b22dfc
commit 3fde441a69
1 changed files with 6 additions and 0 deletions

View File

@ -118,6 +118,12 @@ static void sysmobts_board_detect(void)
} else {
sysmobts_config_eeprom("24c64");
}
/* disable nand write protect */
if (board_ver == 5) {
gpio_direction_output(33, 1);
udelay(100);
}
}
static int sysmobts_set_ethaddr(void)