Commit 9e357b61 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller

make GTA04 choose different fdtfiles depending on OneNAND or NAND

Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
parent 5bd63aef
......@@ -562,6 +562,9 @@ int misc_init_r(void)
printf("Error: unable to acquire board revision GPIOs\n");
break;
}
#if defined(CONFIG_ONENAND_BOOT)
strcat(devtree, "one"); /* choose a DTB that tells kernel that we have OneNAND */
#endif
strcat(devtree, peripheral); /* append potential +b2/b3 suffix for peripheral board(s) */
setenv("mux", muxname);
setenv("devicetree", devtree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment