[U-Boot-Users] Missing oftree_dtb and and oftree_dtb_len breaking compile
Matthew McClintock
msm at freescale.com
Mon Aug 28 20:34:33 CEST 2006
On Fri, 2006-08-25 at 23:12 +0100, Bryan O'Donoghue wrote:
> Hmm, I added, the following options to my config file.
>
> <snip>
> /* pass open firmware flat tree */
> #define CONFIG_OF_FLAT_TREE 1
>
> /* maximum size of the flat tree (8K) */
> #define OF_FLAT_TREE_MAX_SIZE 8192
>
> #define OF_CPU "PowerPC,MPC875"
> #define OF_TBCLK (CFG_8xx_CPUCLK_MAX / 16)
> #define CONFIG_OF_HAS_BD_T 1
> #define CONFIG_OF_HAS_UBOOT_ENV 1
> <snip>
>
> make generates an error for oftree_dtb since it and oftree_dtb_len don't seem
> to be defined _at_all_ anywhere in U-Boot aside from four extern declarations.
Could you possibly show us the specific compile error? The correct fix
would be, if you do not have CONFIG_OF_FLAT_TREE defined then the code
that hits those variables should not be compiled.
-Matthew
More information about the U-Boot
mailing list