From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew McClintock Date: Mon, 28 Aug 2006 13:34:33 -0500 Subject: [U-Boot-Users] Missing oftree_dtb and and oftree_dtb_len breaking compile In-Reply-To: <20060825231228.136b76c5@localhost.localdomain> References: <20060825231228.136b76c5@localhost.localdomain> Message-ID: <1156790073.5083.3.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 2006-08-25 at 23:12 +0100, Bryan O'Donoghue wrote: > Hmm, I added, the following options to my config file. > > > /* 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 > > > 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