Skip to content
Snippets Groups Projects
Commit 038de09e authored by Kenneth Johansson's avatar Kenneth Johansson
Browse files

Comment was wrong the config option is named CONFIG_MIPS_RAW_APPENDED_DTB

took the config name from the comment and used it in code.
Should have known better. comments are never right.
parent ee7dfeb5
Branches jh
No related tags found
No related merge requests found
......@@ -158,8 +158,8 @@ static void plat_early_init_devtree(void)
* parsed resulting in our memory appearing
*/
if (fw_passed_dtb){ /* used by CONFIG_MIPS_APPENDED_RAW_DTB as well */
#if defined(CONFIG_LTQ_EVA_1GB) && ! defined(CONFIG_MIPS_APPENDED_RAW_DTB)
if (fw_passed_dtb){ /* used by CONFIG_MIPS_RAW_APPENDED_DTB as well */
#if defined(CONFIG_LTQ_EVA_1GB) && ! defined(CONFIG_MIPS_RAW_APPENDED_DTB)
/* in this option we have the kernel linked at 0x60000000 instead of 0x80000000 */
/* u-boot assumes the first one so pointer from u-boot is pointing to wrong address */
pr_info("Using Device tree (DTB) from bootloader %p (%p)\n", (void *)(fw_passed_dtb - 0x20000000), (void*)fw_passed_dtb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment