From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] M18 flash (Sibley) support (attempt 2)
Date: Fri, 28 Sep 2007 16:47:15 +0200 [thread overview]
Message-ID: <20070928144715.B8FBA24769@gemini.denx.de> (raw)
In-Reply-To: Your message of "Fri, 28 Sep 2007 15:29:56 +0400." <E1IbE2e-000EEu-00.vasiliy-leonenko-mail-ru@f97.mail.ru>
Dear Vasiliy,
in message <E1IbE2e-000EEu-00.vasiliy-leonenko-mail-ru@f97.mail.ru> you wrote:
>
> > Your patch was corrupted by your mailer which wrapped long lines. It
> > cannot be applied.
> Thank you very much for your reply. Gmail wrapped long lines. So I changed mail box. This is the second attempt.
>
> The patch was verified on different kinds of NOR using Mainstone II platform - no issues are found on u-boot (versions 1.3.0-rc1 and 1.3.0-rc2).
>
> Any comments and suggestions are welcome.
I'm a bit scared about your patch. Which tools do you use to create it?
> @@ -184,8 +186,8 @@ flash_info_t flash_info[CFG_MAX_FLASH_BA
> typedef unsigned long flash_sect_t;
>
> static void flash_add_byte (flash_info_t * info, cfiword_t * cword, uchar c);
> -static void flash_make_cmd (flash_info_t * info, uchar cmd, void *cmdbuf);
> -static void flash_write_cmd (flash_info_t * info, flash_sect_t sect, uint offset, uchar cmd);
> +static void flash_make_cmd (flash_info_t * info, ulong cmd, void *cmdbuf);
> +static void flash_write_cmd (flash_info_t * info, flash_sect_t sect, uint offset, ulong cmd);
> static void flash_unlock_seq (flash_info_t * info, flash_sect_t sect);
> static int flash_isequal (flash_info_t * info, flash_sect_t sect, uint offset, uchar cmd);
> static int flash_isset (flash_info_t * info, flash_sect_t sect, uint offset, uchar cmd);
I don't see any differences here. Why is this flagged as a change?
...
> @@ -903,7 +911,7 @@ static void flash_add_byte (flash_info_t
> /*-----------------------------------------------------------------------
> * make a proper sized command based on the port and chip widths
> */
> -static void flash_make_cmd (flash_info_t * info, uchar cmd, void *cmdbuf)
> +static void flash_make_cmd (flash_info_t * info, ulong cmd, void *cmdbuf)
> {
> int i;
> uchar *cp = (uchar *) cmdbuf;
Ditto.
> @@ -913,13 +921,13 @@ static void flash_make_cmd (flash_info_t
...
>
> /*
> * Write a proper sized command to the correct address
> */
> -static void flash_write_cmd (flash_info_t * info, flash_sect_t sect, uint offset, uchar cmd)
> +static void flash_write_cmd (flash_info_t * info, flash_sect_t sect, uint offset, ulong cmd)
Ditto.
This smells somewhat fishy. Do you have an explanation what's going on
here?
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
2000 pounds of chinese soup = 1 Won Ton
next prev parent reply other threads:[~2007-09-28 14:47 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 11:29 [U-Boot-Users] [PATCH] M18 flash (Sibley) support (attempt 2) Vasiliy Leoenenko
2007-09-28 14:47 ` Wolfgang Denk [this message]
2007-09-28 15:47 ` Alexey Korolev
2007-09-28 16:40 ` Wolfgang Denk
2008-04-21 7:02 ` Stefan Roese
2008-04-23 9:42 ` Vasiliy Leoenenko
2008-04-25 6:35 ` Stefan Roese
2008-04-29 12:14 ` Vasiliy Leoenenko
2008-04-29 13:02 ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-29 12:15 ` Vasiliy Leoenenko
2008-04-29 12:43 ` Stefan Roese
2008-04-29 13:43 ` Wolfgang Denk
2008-04-29 14:39 ` Vasiliy Leoenenko
2008-04-29 14:40 ` Vasiliy Leoenenko
2008-04-29 15:03 ` Anatolij Gustschin
2008-05-07 17:23 ` Vasiliy Leoenenko
2008-05-07 17:24 ` Vasiliy Leoenenko
2008-06-03 19:07 ` Stefan Roese
2008-05-07 17:25 ` Vasiliy Leoenenko
2008-06-03 19:07 ` Stefan Roese
2008-05-07 18:05 ` Vasiliy Leoenenko
2008-05-12 9:36 ` Vasiliy Leonenko
2008-05-13 5:42 ` Stefan Roese
2008-04-29 14:40 ` Vasiliy Leoenenko
2008-04-29 12:16 ` Vasiliy Leoenenko
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=20070928144715.B8FBA24769@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