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 committed by Holger Hans Peter Freyther
parent 8b61a7b135
commit c5cd569198
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)