From: "=?ISO-8859-1?Q?Lu=EDs_Cargnini?=" Subject: Re: problems compiling latest git update Date: Tue, 18 Sep 2007 14:19:31 -0300 Message-ID: References: <46F002C0.60503@googlemail.com> Reply-To: lvcargnini@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com Cc: OMAP List-Id: linux-omap@vger.kernel.org the problem is I have to add the following file include/asm-arm/arch-omap/omap24xx.h but, the system appears to be testing everytime this clause: (mmc->enabled) { if (cpu_is_omap24xx()) { omap_cfg_reg(H18_24XX_MMC_CMD); omap_cfg_reg(H15_24XX_MMC_CLKI); omap_cfg_reg(G19_24XX_MMC_CLKO); omap_cfg_reg(F20_24XX_MMC_DAT0); omap_cfg_reg(F19_24XX_MMC_DAT_DIR0); omap_cfg_reg(G18_24XX_MMC_CMD_DIR); } else { omap_cfg_reg(MMC_CMD); omap_cfg_reg(MMC_CLK); omap_cfg_reg(MMC_DAT0); if (cpu_is_omap1710()) { omap_cfg_reg(M15_1710_MMC_CLKI); omap_cfg_reg(P19_1710_MMC_CMDDIR); omap_cfg_reg(P20_1710_MMC_DATDIR0); } why not and ifndef besides if cpu_is ..... because I have to add the 2420.h or add the ifndef I'm correct ? On 9/18/07, Lu=EDs Cargnini wrote: > > without MMC/SD it works, but with MMC/SD it not compile > and my source have the applied patch that you suggested, but it is for > OMAP2420 > > On 9/18/07, Dirk Behme wrote: > > > > > > > > Clean omap_osk_5912_defconfig compiles and boots fine with recent git > > (41283eed64c3279f62f...). > > > > Maybe anything with > > > > > > http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/0111= 59.html > > > > ? > > > > Dirk > > > > > > -- > -------------------------------------------------------------------------= ----- > > Thanks && Regards > Msc. Bsc. Lu=EDs Vit=F3rio Cargnini > IEEE Member > Electrical Engineer Faculty @ PUCRS > Ipiranga Avenue, 6681 =96 Building 30 > P.O. Box: 90619-900 =96 Porto Alegre/RS > Phone: +55 51 3320 3500 extension: 7696 > -------------------------------------------------------------------------= -------- > > --=20 ---------------------------------------------------------------------------= --- Thanks && Regards Msc. Bsc. Lu=EDs Vit=F3rio Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 =96 Building 30 P.O. Box: 90619-900 =96 Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------= ------