Hi > I'm not sure of a good solution, however selecting OF where > USE_OF wasn't previously selected seems to cause problems on at least > ARM because devtree.c is then compiled without OF_FLATTREE selected. > > That results in the following awesomeness as pointed out to me by Morimoto-san. > > arch/arm/kernel/devtree.c: In function 'arm_dt_memblock_reserve': > arch/arm/kernel/devtree.c:43:7: error: 'initial_boot_params' undeclared (first use in this function) > arch/arm/kernel/devtree.c:43:7: note: each undeclared identifier is reported only once for each function it appears in > arch/arm/kernel/devtree.c: In function 'setup_machine_fdt': > arch/arm/kernel/devtree.c:193:2: error: 'initial_boot_params' undeclared (first use in this function) > arch/arm/kernel/devtree.c:194:2: error: implicit declaration of function 'of_get_flat_dt_root' > arch/arm/kernel/devtree.c:196:3: error: implicit declaration of function 'of_flat_dt_match' > arch/arm/kernel/devtree.c:209:3: error: implicit declaration of function 'of_get_flat_dt_prop' > arch/arm/kernel/devtree.c:209:8: warning: assignment makes pointer from integer without a cast > arch/arm/kernel/devtree.c:220:8: warning: assignment makes pointer from integer without a cast > arch/arm/kernel/devtree.c:222:9: warning: assignment makes pointer from integer without a cast > arch/arm/kernel/devtree.c:228:2: error: implicit declaration of function 'of_scan_flat_dt' > arch/arm/kernel/devtree.c:228:18: error: 'early_init_dt_scan_chosen' undeclared (first use in this function) > arch/arm/kernel/devtree.c:230:18: error: 'early_init_dt_scan_root' undeclared (first use in this function) > arch/arm/kernel/devtree.c:232:18: error: 'early_init_dt_scan_memory' undeclared (first use in this function) > make[1]: *** [arch/arm/kernel/devtree.o] Error 1 OF_FLATTREE OF_EARLY_FLATTREE both are required ? Best regards --- Kuninori Morimoto _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel