public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Where does U-Boot's CFI driver check for top/bottom boot?
Date: Tue, 07 Nov 2006 12:01:57 -0600	[thread overview]
Message-ID: <4550CA15.80605@orkun.us> (raw)
In-Reply-To: <4550C155.2030202@freescale.com>

Timur Tabi wrote:
> Tolunay Orkun wrote:
>> Here is the patch (attached) that handles top boot geometry reversal 
>> case on AMD flash.
> 
> This patch works for me, so I approve it.  I tested it on the board that has 
> this problem, as well as an 8360-based board that has only same-sized sectors.

Glad to hear. Hopefully I will get more positive feedback.

> Just one nit:
> 
> Adds trailing whitespace.
> .dotest/patch:35:               man_id = flash_read_uchar (info,
> Adds trailing whitespace.
> .dotest/patch:37:               dev_id = flash_read_uchar(info,
> warning: 2 lines add trailing whitespaces.

I will fix that.

Questions for the maintainers:

1) I have some new variables for man_id, dev_id, cfi_version introduced by 
this patch (actually man_id is currently not used so could be removed). I 
can kept these local to the function for now or I can add them to the info 
structure along with ext_addr (to easily locate the Vendor Extended Query 
Structure in flash). What do you think?

In the minimum displaying man_id, dev_id, cfi_version when executing 
"flinfo" command could be useful for diagnostic purposes. We might need to 
use them to tweak the behavior of some other functionality in the future as 
well.

2) There are some outdated comments at the beginning of the cfi_flash.c. The 
modification history is not up to date and todo list stuff is mostly 
addressed over time. Since the actual history is already is the git, I 
propose to get rid of modification history and todo list from the comments.

Best regards,
Tolunay

  reply	other threads:[~2006-11-07 18:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-06 23:46 [U-Boot-Users] [PATCH] Where does U-Boot's CFI driver check for top/bottom boot? timur at freescale.com
2006-11-07  0:51 ` Tolunay Orkun
2006-11-07  1:09 ` [U-Boot-Users] [PATCH] Where does U-Boot's CFI driver check fortop/bottom boot? Spence Nick-rxtd10
2006-11-07 10:57 ` [U-Boot-Users] [PATCH] Where does U-Boot's CFI driver check for top/bottom boot? Tolunay Orkun
2006-11-07 17:24   ` Timur Tabi
2006-11-07 18:01     ` Tolunay Orkun [this message]
2006-11-07 18:16       ` Stefan Roese
2006-11-07 23:05         ` Tolunay Orkun
2006-11-07 23:19         ` Tolunay Orkun
2006-11-07 17:50   ` Spence Nick-rxtd10
2006-11-07 18:14     ` Tolunay Orkun
2006-11-07 18:38       ` Timur Tabi
2006-11-07 18:46         ` Stefan Roese

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=4550CA15.80605@orkun.us \
    --to=listmember@orkun.us \
    --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