public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: James Chargin <jimccrown@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] fs:When 'go' run the program by 'fatload', added the cache flush to prevent cache mismatch.
Date: Mon, 10 Oct 2016 06:26:54 -0700	[thread overview]
Message-ID: <d5cdb57d-e37a-bcad-4aea-ad60b5866847@gmail.com> (raw)
In-Reply-To: <20161008032021.8559-1-jr4qpv@gmail.com>

Dear yoko,

On 10/07/2016 08:20 PM, yoko wrote:
> Signed-off-by: yoko <jr4qpv@gmail.com>
> ---
>
> Changes for v2:
>    - The commit message is changed.
>
>  fs/fs.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/fs/fs.c b/fs/fs.c
> index 595ff1f..7607230 100644
> --- a/fs/fs.c
> +++ b/fs/fs.c
> @@ -417,6 +417,8 @@ int do_load(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[],
>  	}
>  	puts("\n");
>
> +	flush_cache(addr, len_read);
> +
>  	setenv_hex("fileaddr", addr);
>  	setenv_hex("filesize", len_read);
>
> @@ -535,4 +537,3 @@ int do_fs_type(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
>
>  	return CMD_RET_SUCCESS;
>  }
> -
>

The wiki includes information about cache considerations for the "go" 
command [1]. If possible, please check that information to be sure it 
remains consistent with this patch.

Thanks,
Jim

[1] http://www.denx.de/wiki/view/DULG/UBootStandalone#Section_5.12.3.
-- 
Jim Chargin
AJA Video Systems                       jimc at aja.com
(530) 271-3334                          http://www.aja.com

  reply	other threads:[~2016-10-10 13:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25  3:10 [U-Boot] [PATCH] Cash flash correction of do_load() yoko
2016-10-07  1:06 ` [U-Boot] " Tom Rini
2016-10-08  3:20   ` [U-Boot] [PATCH v2] fs:When 'go' run the program by 'fatload', added the cache flush to prevent cache mismatch yoko
2016-10-10 13:26     ` James Chargin [this message]
2016-10-11  3:00       ` yoko

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=d5cdb57d-e37a-bcad-4aea-ad60b5866847@gmail.com \
    --to=jimccrown@gmail.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