From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Lilja Date: Tue, 22 Sep 2009 22:04:26 +0200 Subject: [U-Boot] [PATCH] imx51:Add support basic boot code of freescale imx51 bbg board In-Reply-To: <2f495dc80909221219n2f6f303dw478871aede988a7a@mail.gmail.com> References: <12534677012313-git-send-email-fanyefeng@gmail.com> <4AB7BE0F.4020602@gmail.com> <2f495dc80909221219n2f6f303dw478871aede988a7a@mail.gmail.com> Message-ID: <4AB92DCA.1090207@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hmm, for some reason "Reply" in gmail cut part of the qouted message so here's the rest of the followup. Fred Fan skrev: > Hi Magnus Liljia: > Thanks for your comments. > Best Regards > Fred > > 2009/9/22, Magnus Lilja : > >> Hi >> >> >> I've scanned the patch briefly and have some comments below. >> >> gareatech at gmail.com wrote: >> I don't think everything in this file is needed by U-Boot, e.g. the >> interrupt definitions. >> Yes. But interrupt maybe use when interrupt is supportted. Do I need remove >> the definitions which are not used? Don't know. >>> diff --git a/include/configs/imx51.h b/include/configs/imx51.h >>> new file mode 100644 >>> index 0000000..f0def4e >>> --- /dev/null >>> +++ b/include/configs/imx51.h >>> @@ -0,0 +1,177 @@ >>> +/* >>> + * Copyright (C) 2007, Guennadi Liakhovetski >>> + * >>> + * (C) Copyright 2009 Freescale Semiconductor, Inc. >>> + * >>> + * Configuration settings for the MX51-3Stack Freescale board. >>> + * >>> + * This program is free software; you can redistribute it and/or >>> + * modify it under the terms of the GNU General Public License as >>> + * published by the Free Software Foundation; either version 2 of >>> + * the License, or (at your option) any later version. >>> + * >>> + * This program is distributed in the hope that it will be useful, >>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of >>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >>> + * GNU General Public License for more details. >>> + * >>> + * You should have received a copy of the GNU General Public License >>> + * along with this program; if not, write to the Free Software >>> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, >>> + * MA 02111-1307 USA >>> + */ >>> + >>> +#ifndef __CONFIG_H >>> +#define __CONFIG_H >>> + >>> +#include >>> + >>> + /* High Level Configuration Options */ >>> +#define CONFIG_ARMV7 1 /* This is armv7 Cortex-A8 CPU core >> */ >>> +#define CONFIG_L2_OFF >>> + >>> +#define CONFIG_MXC 1 >>> +#define CONFIG_MX51_BBG 1 /* in a mx51 */ >> Can't see that this is used anywhere. >> OK. I will remove them; Only remove MX51_BBG, I didn't check if CONFIG_MXC is used anywhere. Regards, Magnus