public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Rapoport <mike@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] OMAP3: add CM-T35 board
Date: Thu, 12 Nov 2009 14:30:03 +0200	[thread overview]
Message-ID: <4AFBFFCB.2070609@compulab.co.il> (raw)
In-Reply-To: <20091111215621.93D5228BBC@gemini.denx.de>

Dear Wolfgang,

Wolfgang Denk wrote:
> Dear Mike Rapoport,
> 
> In message <1257955131-16729-1-git-send-email-mike@compulab.co.il> you wrote:
>> Add CM-T35 board support
>>
>> --
>> v2 changes:
>> - rename board config file from omap3_cm-t35.h to cm-t35.h
>> - remove SZ_xx references
>> - add MAKEALL/MAINTEINERS entries
>> --
>>
>> Signed-off-by: Mike Rapoport <mike@compulab.co.il>
> 
> The Signed-off-by: line belongs _above_ the "--" line.
> 
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -677,6 +677,10 @@ Stelian Pop <stelian.pop@leadtechdesign.com>
>>  	at91sam9263ek	ARM926EJS (AT91SAM9263 SoC)
>>  	at91sam9rlek	ARM926EJS (AT91SAM9RL SoC)
>>  
>> +Mike Rapoport <mike@compulab.co.il>
>> +
>> +	omap3_cm-t35	ARM CORTEX-A8 (OMAP3xx SoC)
> 
> Please fix the board name.
> 
>> diff --git a/board/cm-t35/cm-t35.c b/board/cm-t35/cm-t35.c
>> new file mode 100644
>> index 0000000..b3eb087
>> --- /dev/null
>> +++ b/board/cm-t35/cm-t35.c
>> +	udelay(1);
>> +	twl4030_i2c_write_u8(TWL4030_CHIP_GPIO, 0x02,
>> +			     TWL4030_BASEADD_GPIO+0x0C);
>> +
>> +}
> 
> Delete this empty line, please (please check globally).
> 
> 
>> +++ b/board/cm-t35/cm-t35.h
> ...
>> +#define MUX_CM_T35() \
>> + /*SDRC*/\
>> + MUX_VAL(CP(SDRC_D0),		(IEN  | PTD | DIS | M0)) /*SDRC_D0*/\
> ...
> Indentation by TAB, please.
> 
>> +++ b/board/cm-t35/config.mk
>> @@ -0,0 +1,30 @@
> ...
>> +# For use with external or internal boots.
>> +TEXT_BASE = 0x80e80000
>> \ No newline at end of file
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Please fix.
> 
>> diff --git a/include/configs/cm-t35.h b/include/configs/cm-t35.h
>> new file mode 100755
>> index 0000000..b881112
>> --- /dev/null
>> +++ b/include/configs/cm-t35.h
> ...
>> +#ifndef __ASSEMBLY__
>> +extern struct gpmc *gpmc_cfg;
>> +extern unsigned int boot_flash_base;
>> +extern volatile unsigned int boot_flash_env_addr;
>> +extern unsigned int boot_flash_off;
>> +extern unsigned int boot_flash_sec;
>> +extern unsigned int boot_flash_type;
>> +#endif
> 
> These should not be needed in your board config file. Please move to a
> more appropriate header.

This is what all other omap3 board do... Moving these requires some rework of
common omap3 code and updates to all omap3 boards.

> 
> Best regards,
> 
> Wolfgang Denk
> 

-- 
Sincerely yours,
Mike.

  reply	other threads:[~2009-11-12 12:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-11 15:58 [U-Boot] [PATCH v2] OMAP3: add CM-T35 board Mike Rapoport
2009-11-11 18:37 ` Dirk Behme
2009-11-11 21:25   ` Mike Rapoport
2009-11-11 20:03 ` Ben Warren
2009-11-11 22:21   ` Mike Rapoport
2009-11-11 21:56 ` Wolfgang Denk
2009-11-12 12:30   ` Mike Rapoport [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-12-08  6:33 Mike Rapoport
2010-12-08  8:56 ` Wolfgang Denk

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=4AFBFFCB.2070609@compulab.co.il \
    --to=mike@compulab.co.il \
    --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