public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: kb_admin <kb9200_dev@kwikbyte.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 1/5][RESEND] CSB637 - add KB920x support
Date: Wed, 24 Aug 2005 18:59:22 -0400	[thread overview]
Message-ID: <000401c5a8ff$7ae12730$b50196c0@denxp> (raw)
In-Reply-To: <fc.004c4e480036a81a3b9aca002e579ad8.36a82e@rea.de>

Anders,

Thank you for your consideration.

We included the function lowlevel_init because it is referenced in a
shared, common assembly file (cpu/arm920t/start.S).  Please let me know
if there is another approach.

We used the conditional because our board supports more than a single
byte for the TWI address and we didn't want to break other targets.
Please let me the best solution to this goal as we don't want to use
target-specific conditionals, if possible.

Also, we have updated two constants in the patch.  I'm including the
original patch modified with the changes.  If possible, please include
the updates.  If this violates the change process, we can submit the
changes in a future update.

Thank you for your help and effort.  We are excited to get u-boot
support added for our board.

Best regards,

Matt
kb9200_dev at kwikbyte.com
www.kwikbyte.com


-----Original Message-----
From: Anders Larsen [mailto:alarsen at rea.de] 
Sent: Wednesday, August 24, 2005 5:32 AM
To: Steven Scholz; Matt
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] [PATCH 1/5][RESEND] CSB637 - add KB920x
support

Steven Scholz <steven.scholz@imc-berlin.de> schreibt:
>> --- /dev/null
>> +++ b/board/kb9202/kb9202.c
>...
>> +void lowlevel_init(void) {
>> +	/* Required by assembly functions - do nothing	*/
>> +}
>
>Why is this required?

I don't know - I only refreshed and forwarded the patch.
Perhaps the original author can answer this?

>> --- a/cpu/arm920t/at91rm9200/i2c.c
>> +++ b/cpu/arm920t/at91rm9200/i2c.c
>...
>> +#ifdef CONFIG_KB920x
>> +	twi->TWI_IADR = addr;
>> +#else
>>  	/* Set TWI Internal Address Register with first messages data
field */
>>  	/* only one address byte is supported  */
>>  	if (alen > 0)
>>  		twi->TWI_IADR = addr & 0xff;
>> +#endif
>
>Why is this required? IMHO we should avoid putting board dependend
>DEFINES in common code.

Agree (but see my answer above).

Cheers
 Anders

-------------- next part --------------
A non-text attachment was scrubbed...
Name: KB920x_diffs.gz
Type: application/x-gzip
Size: 5559 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050824/fc9c5bd1/attachment.bin 

  reply	other threads:[~2005-08-24 22:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-24  9:19 [U-Boot-Users] [PATCH 1/5][RESEND] CSB637 - add KB920x support Anders Larsen
2005-08-24  9:28 ` Steven Scholz
2005-08-24  9:32   ` Anders Larsen
2005-08-24 22:59     ` kb_admin [this message]
2005-08-25  7:03       ` Steven Scholz
2005-08-25 13:42         ` [U-Boot-Users] [PATCH 1/5][RESEND #2] " Anders Larsen
2005-08-25 14:43           ` Steven Scholz
2005-08-25 14:49             ` Anders Larsen
2005-09-01  6:48               ` Peter Menzebach
2005-08-25 17:55             ` kb9200_dev at kwikbyte.com
2005-08-25 21:48           ` kb9200_dev at kwikbyte.com
2005-10-05  0:15           ` Wolfgang Denk
2005-10-05 16:44             ` Anders Larsen
2005-10-05 23:23               ` Wolfgang Denk
2005-08-25  7:07       ` [U-Boot-Users] [PATCH 1/5][RESEND] " Steven Scholz
2005-10-05  0:07 ` 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='000401c5a8ff$7ae12730$b50196c0@denxp' \
    --to=kb9200_dev@kwikbyte.com \
    --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