Browse Source

nand: Speculative change for later board revisions

master
Holger Hans Peter Freyther 6 years ago
parent
commit
77aac3693b
  1. 2
      davinci.c

2
davinci.c

@ -611,7 +611,7 @@ davinci_platform_init(char *version, int *nwp_nand)
char boardCfg;
boardCfg = (*gpio01 >> 10) & 0x001F;
boardVer = (*gpio01 >> 15) & 0x0007;
if (boardVer == 5)
if (boardVer >= 5)
{
uart_send_str_lf("Board needs GPIO for nWP");
*nwp_nand = 1;

Loading…
Cancel
Save