From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARMV7: OMAP3: Add support for Comelit CPS board
Date: Mon, 21 Mar 2011 19:48:19 +0100 [thread overview]
Message-ID: <20110321184819.C172EDEE10D@gemini.denx.de> (raw)
In-Reply-To: <4D877D80.6060506@comelit.it>
Dear Luca Ceresoli,
In message <4D877D80.6060506@comelit.it> you wrote:
>
> > It appears you base this code on an old version of U-Boot. Please
> > update your code base first.
>
> Strange.
>
> My patch is based on current master, on the latest commit that I see
> today on git://git.denx.de/u-boot.git:
Sorry. I thought we had cleaned up the config.mk file use for these
boards long ago. Seems I was wrong.
> > WARNING: Use #include <linux/io.h> instead of <asm/io.h>
> > #169: FILE: board/comelit/cps/cps.c:39:
> > +#include <asm/io.h>
>
> I guess I can safely ignore this one.
Yes.
> > WARNING: Use of volatile is usually wrong: see
> Documentation/volatile-considered-harmful.txt
> > #1011: FILE: include/configs/omap3_cps.h:305:
> > +extern volatile unsigned int boot_flash_env_addr;
>
> I don't know why it is volatile, but since it's defined this way in
> arch/arm/cpu/armv7/omap3/mem.c I think there's a reason.
No, this should be removed. See
Documentation/volatile-considered-harmful.txt
> > We don't accept such config.mk files any more. Please move definition
> > into your board config file.
>
> Meaning I should remove config.mk entirely, right?
Right.
> > Please name your board just "cps" (or chose a better name). There
> > shall be no SoC-prefix in the board names.
>
> Will be called dig297 in v2.
Thanks.
> > #defines like these which select a feature shall not have values
> > assigned. Remove all these '1' here. Please fix globally.
> >
>
> Ok except for OMAP34XX, since arch/arm/cpu/armv7/start.S at line 114
> does:
>
> > #if (CONFIG_OMAP34XX)
>
> Is it intended?
> If that's a mistake, I can submit a trivial patch to fix it.
Ouch. This is wrong and should be fixed. Yes, please send a
(separate) patch for that.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
My play was a complete success. The audience was a failure.
next prev parent reply other threads:[~2011-03-21 18:48 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-21 11:42 [U-Boot] OMAP3 Regression after merging ARM relocation code for custom board Luca Ceresoli
2011-03-21 11:42 ` [U-Boot] [PATCH] ARMV7: OMAP3: Add support for Comelit CPS board Luca Ceresoli
2011-03-21 11:55 ` Wolfgang Denk
2011-03-21 16:32 ` Luca Ceresoli
2011-03-21 17:30 ` Luca Ceresoli
2011-03-21 20:23 ` Wolfgang Denk
2011-03-21 18:48 ` Wolfgang Denk [this message]
2011-03-22 13:44 ` [U-Boot] [PATCH v2] Re: OMAP3 Regression after merging ARM relocation code for custom board Luca Ceresoli
2011-03-29 16:28 ` [U-Boot] [PATCH v3 0/4] Add DIG297 board and OMAP3 fixes Luca Ceresoli
2011-03-29 16:28 ` [U-Boot] [PATCH v3 1/4] ARMV7: OMAP3: Fix preprocessor check for CONFIG_OMAP34XX Luca Ceresoli
2011-03-29 16:28 ` [U-Boot] [PATCH v3 2/4] ARMV7: OMAP3: Remove unused variable boot_flash_env_addr Luca Ceresoli
2011-03-29 16:28 ` [U-Boot] [PATCH v3 3/4] ARMV7: OMAP3: boot_flash_env_addr should not be volatile Luca Ceresoli
2011-04-06 7:34 ` Wolfgang Denk
2011-03-29 16:28 ` [U-Boot] [PATCH v3 4/4] ARMV7: OMAP3: Add support for Comelit DIG297 board Luca Ceresoli
2011-04-05 17:21 ` Albert ARIBAUD
2011-04-06 7:50 ` Wolfgang Denk
2011-04-07 19:38 ` Luca Ceresoli
2011-04-07 21:49 ` Wolfgang Denk
2011-04-08 7:15 ` Luca Ceresoli
2011-04-09 20:45 ` Luca Ceresoli
2011-04-09 21:22 ` Wolfgang Denk
2011-04-11 8:21 ` Luca Ceresoli
2011-04-25 21:55 ` Wolfgang Denk
2011-04-05 7:41 ` [U-Boot] [PATCH v3 0/4] Add DIG297 board and OMAP3 fixes Luca Ceresoli
2011-04-15 12:30 ` [U-Boot] [PATCH " Luca Ceresoli
2011-04-15 12:30 ` [U-Boot] [PATCH 1/4] ARMV7: OMAP3: Fix preprocessor check for CONFIG_OMAP34XX Luca Ceresoli
2011-04-15 12:30 ` [U-Boot] [PATCH 2/4] ARMV7: OMAP3: Cleanup extern variables in mem.c Luca Ceresoli
2011-04-15 12:30 ` [U-Boot] [PATCH 3/4] ARMV7: OMAP3: Add GPMC_CONFIGx register value definitions Luca Ceresoli
2011-04-15 12:30 ` [U-Boot] [PATCH 4/4] ARMV7: OMAP3: Add support for Comelit DIG297 board Luca Ceresoli
2011-04-15 12:48 ` [U-Boot] [PATCH v4 0/4] Add DIG297 board and OMAP3 fixes Luca Ceresoli
2011-04-16 6:42 ` Albert ARIBAUD
2011-04-15 12:48 ` [U-Boot] [PATCH v4 1/4] ARMV7: OMAP3: Fix preprocessor check for CONFIG_OMAP34XX Luca Ceresoli
2011-04-19 13:47 ` Paulraj, Sandeep
2011-04-15 12:48 ` [U-Boot] [PATCH v4 2/4] ARMV7: OMAP3: Cleanup extern variables in mem.c Luca Ceresoli
2011-04-19 13:54 ` Paulraj, Sandeep
2011-04-20 12:27 ` [U-Boot] [PATCH v5 0/2] Add DIG297 board and OMAP3 fixes Luca Ceresoli
2011-04-20 15:03 ` Paulraj, Sandeep
2011-04-20 12:27 ` [U-Boot] [PATCH v5 1/2] ARMV7: OMAP3: Cleanup extern variables in mem.c Luca Ceresoli
2011-04-20 12:27 ` [U-Boot] [PATCH v5 2/2] ARMV7: OMAP3: Add support for Comelit DIG297 board Luca Ceresoli
2011-04-15 12:48 ` [U-Boot] [PATCH v4 3/4] ARMV7: OMAP3: Add GPMC_CONFIGx register value definitions Luca Ceresoli
2011-04-19 13:49 ` Paulraj, Sandeep
2011-04-15 12:48 ` [U-Boot] [PATCH v4 4/4] ARMV7: OMAP3: Add support for Comelit DIG297 board Luca Ceresoli
2011-04-19 13:58 ` Paulraj, Sandeep
2011-04-19 15:18 ` Luca Ceresoli
2011-04-19 19:50 ` Paulraj, Sandeep
2011-03-22 13:44 ` [U-Boot] [PATCH 1/4 v2] ARMV7: OMAP3: Fix preprocessor check for CONFIG_OMAP34XX Luca Ceresoli
2011-03-22 13:44 ` [U-Boot] [PATCH 2/4] ARMV7: OMAP3: Remove unused variable boot_flash_env_addr Luca Ceresoli
2011-03-22 13:44 ` [U-Boot] [PATCH 3/4] ARMV7: OMAP3: boot_flash_env_addr should not be volatile Luca Ceresoli
2011-03-22 13:44 ` [U-Boot] [PATCH 4/4] ARMV7: OMAP3: Add support for Comelit DIG297 board Luca Ceresoli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110321184819.C172EDEE10D@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox