From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/7] arc: cache - build invalidate_icache_all() and invalidate_dcache_all() always
Date: Fri, 3 Apr 2015 16:25:43 +0000 [thread overview]
Message-ID: <1428078342.2836.13.camel@synopsys.com> (raw)
In-Reply-To: <1427796536-30035-2-git-send-email-abrodkin@synopsys.com>
On Tue, 2015-03-31 at 13:08 +0300, Alexey Brodkin wrote:
> Make both invalidate_icache_all() and invalidate_dcache_all() available
> even if U-Boot is configured with CONFIG_SYS_DCACHE_OFF and/or
> CONFIG_SYS_ICACHE_OFF.
>
> This is useful because configuration of U-Boot may not match actual
> hardware features. Real board may have cache(s) but for some reason we
> may want to run U-Boot with cache(s) disabled (for example if some
> peripherals work improperly with existing drivers if data cache is
> enabled). So board may start with cache(s) enabled (that's the case for
> ARC cores with built-in caches) but early in U-Boot we disable cache(s)
> and make sure all contents of data cache gets flushed in RAM.
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Applied, thanks.
-Alexey
next prev parent reply other threads:[~2015-04-03 16:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-31 10:08 [U-Boot] [PATCH v2 0/7] ARC updates Alexey Brodkin
2015-03-31 10:08 ` [U-Boot] [PATCH v2 1/7] arc: cache - build invalidate_icache_all() and invalidate_dcache_all() always Alexey Brodkin
2015-04-03 16:25 ` Alexey Brodkin [this message]
2015-03-31 10:08 ` [U-Boot] [PATCH v2 2/7] arc: merge common start-up code between ARC and ARCv2 Alexey Brodkin
2015-04-03 16:25 ` Alexey Brodkin
2015-03-31 10:08 ` [U-Boot] [PATCH v2 3/7] arc: move low-level interrupt and exception handlers in a separate file Alexey Brodkin
2015-04-03 16:26 ` Alexey Brodkin
2015-03-31 10:08 ` [U-Boot] [PATCH v2 4/7] arc: clean-up init procedure Alexey Brodkin
2015-04-03 16:26 ` Alexey Brodkin
2015-03-31 10:08 ` [U-Boot] [PATCH v2 5/7] arc: re-generate defconfigs Alexey Brodkin
2015-04-03 16:26 ` Alexey Brodkin
2015-03-31 10:08 ` [U-Boot] [PATCH v2 6/7] arc: get rid of CONFIG_SYS_GENERIC_GLOBAL_DATA Alexey Brodkin
2015-04-03 16:26 ` Alexey Brodkin
2015-03-31 10:08 ` [U-Boot] [PATCH v2 7/7] arc: minor fixes in Kconfig Alexey Brodkin
2015-04-03 16:27 ` Alexey Brodkin
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=1428078342.2836.13.camel@synopsys.com \
--to=alexey.brodkin@synopsys.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.