On Tue, Jan 10, 2012 at 6:14 AM, Pali Rohár <pali.ro...@gmail.com> wrote: > On Tuesday 03 January 2012 09:05:17 Tom Rini wrote: >> On Sun, Dec 18, 2011 at 2:34 PM, Pali Rohár <pali.ro...@gmail.com> wrote: >> > This board definition results in a u-boot.bin which can be chainloaded >> > from NOLO in qemu or on a real N900. It does very little hardware config >> > because NOLO has already configured the board. Only needed is enabling >> > internal eMMC memory via twl4030 regulator which is not enabled by NOLO. [snip] >> [snip] >> >> > +/* >> > + * High Level Configuration Options >> > + */ >> > + >> > +#define CONFIG_ARMV7 /* This is an ARM V7 CPU core */ >> >> This isn't used. >> >> > +#define CONFIG_L2_OFF /* kernel won't boot if l2 enabled >> > */ >> This isn't correct for disabling L2 now and doesn't do anything. So >> L2 is probably enabled :) > > and #define CONFIG_SYS_L2CACHE_OFF is correct?
Yes. [snip] >> > +/*----------------------------------------------------------------------- >> > + * Physical Memory Map >> > + */ >> > +#define CONFIG_NR_DRAM_BANKS 2 /* CS1 may or may not be >> > populated */ +#define PHYS_SDRAM_1 OMAP34XX_SDRC_CS0 >> > +#define PHYS_SDRAM_2 OMAP34XX_SDRC_CS1 >> > + >> > +/* SDRAM Bank Allocation method */ >> > +#define SDRC_R_B_C 1 >> >> And I'm not sure if any of these are really needed now. >> > > When I deleted this code, I cannot compile U-Boot. Here is error message: > include/asm/u-boot.h:48:17: error: ‘CONFIG_NR_DRAM_BANKS’ undeclared here (not > in a function) I just meant the SDRC_R_B_C part, sorry. -- Tom _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot