From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Thu, 15 Sep 2011 10:39:14 +0300 Subject: [U-Boot] [PATCH 8/8] arm, davinci: add support for am1808 based enbw_cmc board In-Reply-To: <1316066380-7397-9-git-send-email-hs@denx.de> References: <1316066380-7397-1-git-send-email-hs@denx.de> <1316066380-7397-9-git-send-email-hs@denx.de> Message-ID: <4E71ABA2.7010305@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Heiko, On 09/15/11 08:59, Heiko Schocher wrote: > - booting from NOR Flash with direct boot method > - POST support > - LOGBUF support > > Signed-off-by: Heiko Schocher > Cc: Paulraj Sandeep > Cc: Albert ARIBAUD > --- [...] > diff --git a/board/enbw/enbw_cmc/enbw_cmc.c b/board/enbw/enbw_cmc/enbw_cmc.c > new file mode 100644 > index 0000000..1b9ee67 > --- /dev/null > +++ b/board/enbw/enbw_cmc/enbw_cmc.c [...] > + > +int board_init(void) > +{ > +#ifndef CONFIG_USE_IRQ > + irq_init(); > +#endif > + > + /* arch number of the board */ > + gd->bd->bi_arch_number = 3585; There is a new standard option for assigning the machid. Now, this should be done in the board config file and the above two lines removed. Please, see the CONFIG_MACH_TYPE in the U-Boot documentation (README file). [...] > diff --git a/include/configs/enbw_cmc.h b/include/configs/enbw_cmc.h > new file mode 100644 > index 0000000..5de752f > --- /dev/null > +++ b/include/configs/enbw_cmc.h [...] > +/* > + * Board > + */ > +#define CONFIG_DRIVER_TI_EMAC > +#define CONFIG_USE_NAND Consider adding here: #define MACH_TYPE_ENBW_CMC 3585 #define CONFIG_MACH_TYPE MACH_TYPE_ENBW_CMC [...] -- Regards, Igor.