From: Chin Liang See <chin.liang.see@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] arm: socfpga: fix issue with warm reset when CSEL is 0
Date: Wed, 15 Feb 2017 13:56:05 +0700 [thread overview]
Message-ID: <1487141765.1901.0.camel@intel.com> (raw)
In-Reply-To: <1487096912-18457-1-git-send-email-dwesterg@gmail.com>
On Sel, 2017-02-14 at 10:28 -0800, Dalon Westergreen wrote:
> When CSEL=0x0 the socfpga bootrom does not touch the clock
> configuration for the device.??This can lead to a boot failure
> on warm resets.??To address this, the bootrom is configured to
> run a bit of code in the last 4KB of onchip ram on a warm reset.
> This code puts the PLLs in bypass, disables the bootrom configuration
> to run the code snippet, and issues a warm reset to run the bootrom.
>
> Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
>
> --
> Changes in V2:
> ?- Fix checkpatch issues predominently due to whitespace issues
> ---
> ?arch/arm/mach-socfpga/Makefile?????????????????????|??2 +-
> ?arch/arm/mach-socfpga/include/mach/clock_manager.h | 26 +++++++-
> ?arch/arm/mach-socfpga/include/mach/reset_manager.h |??4 ++
> ?.../arm/mach-socfpga/include/mach/system_manager.h |??7 ++-
> ?arch/arm/mach-socfpga/misc.c???????????????????????| 27 ++++++++
> ?arch/arm/mach-socfpga/reset_clock_manager.S????????| 71
> ++++++++++++++++++++++
> ?6 files changed, 134 insertions(+), 3 deletions(-)
> ?create mode 100644 arch/arm/mach-socfpga/reset_clock_manager.S
>
>
Acked-by: Chin Liang See <chin.liang.see@intel.com>
Thanks
Chin Liang
next prev parent reply other threads:[~2017-02-15 6:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 18:28 [U-Boot] [PATCH v2] arm: socfpga: fix issue with warm reset when CSEL is 0 Dalon Westergreen
2017-02-15 6:56 ` Chin Liang See [this message]
2017-02-15 21:16 ` Marek Vasut
2017-02-15 21:15 ` Marek Vasut
2017-02-15 21:48 ` Dalon Westergreen
2017-02-15 22:20 ` Marek Vasut
2017-02-16 2:53 ` Dalon Westergreen
2017-02-17 18:05 ` Dalon Westergreen
2017-02-17 21:16 ` Marek Vasut
2017-02-17 23:24 ` Dalon Westergreen
2017-02-19 21:31 ` Marek Vasut
2017-02-20 14:07 ` Dalon Westergreen
2017-02-20 14:12 ` Marek Vasut
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=1487141765.1901.0.camel@intel.com \
--to=chin.liang.see@intel.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