From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 3/7] ARMv8/ls1043ardb: Integrate FSL PPA
Date: Tue, 10 May 2016 12:48:23 -0700 [thread overview]
Message-ID: <57323B07.1050603@nxp.com> (raw)
In-Reply-To: <1461764367-7760-3-git-send-email-Zhiqiang.Hou@nxp.com>
On 04/27/2016 06:49 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou@freescale.com>
>
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@freescale.com>
> ---
> V3:
> - no change
>
> board/freescale/ls1043ardb/ls1043ardb.c | 11 +++++++++++
> include/configs/ls1043ardb.h | 9 +++++++++
> 2 files changed, 20 insertions(+)
>
> diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/board/freescale/ls1043ardb/ls1043ardb.c
> index ec5fdbf..5f0a8e7 100644
> --- a/board/freescale/ls1043ardb/ls1043ardb.c
> +++ b/board/freescale/ls1043ardb/ls1043ardb.c
> @@ -9,6 +9,7 @@
> #include <asm/io.h>
> #include <asm/arch/clock.h>
> #include <asm/arch/fsl_serdes.h>
> +#include <asm/arch/ppa.h>
> #include <asm/arch/soc.h>
> #include <fdt_support.h>
> #include <hwconfig.h>
> @@ -84,6 +85,9 @@ int board_early_init_f(void)
> int board_init(void)
> {
> struct ccsr_cci400 *cci = (struct ccsr_cci400 *)CONFIG_SYS_CCI400_ADDR;
> +#ifdef CONFIG_FSL_LS_PPA
> + u64 ppa_entry;
> +#endif
>
> /*
> * Set CCI-400 control override register to enable barrier
> @@ -103,6 +107,13 @@ int board_init(void)
> enable_layerscape_ns_access();
> #endif
>
> +#ifdef CONFIG_FSL_LS_PPA
> + ppa_init_pre(&ppa_entry);
> +
> + if (ppa_entry)
> + ppa_init_entry((void *)ppa_entry);
ppa_init_pre() returns the error code. Why don't you use the return value here?
York
next prev parent reply other threads:[~2016-05-10 19:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-27 13:39 [U-Boot] [PATCH v3 1/7] armv8: fsl-layerscape: add i/d-cache enable function to enable_caches Zhiqiang Hou
2016-04-27 13:39 ` [U-Boot] [PATCH v3 2/7] ARMv8/layerscape: Add FSL PPA support Zhiqiang Hou
2016-04-27 13:39 ` [U-Boot] [PATCH v3 3/7] ARMv8/ls1043ardb: Integrate FSL PPA Zhiqiang Hou
2016-05-10 19:48 ` York Sun [this message]
2016-05-18 7:37 ` Zhiqiang Hou
2016-05-18 15:16 ` York Sun
2016-05-24 2:22 ` Zhiqiang Hou
2016-04-27 13:39 ` [U-Boot] [PATCH v3 4/7] ARMv8: add the sec_firmware header file Zhiqiang Hou
2016-04-27 13:39 ` [U-Boot] [PATCH v3 5/7] ARMv8/PSCI: Fixup the device tree for PSCI Zhiqiang Hou
2016-04-27 13:39 ` [U-Boot] [PATCH v3 6/7] ARMv8/Layerscape: switch SMP method to spin-table when the PSCI isn't available Zhiqiang Hou
2016-05-10 19:58 ` York Sun
2016-05-19 2:35 ` Zhiqiang Hou
2016-04-27 13:39 ` [U-Boot] [PATCH v3 7/7] ARMv8/ls1043ardb: add the CONFIG_ARMV8_PSCI when PPA is enabled Zhiqiang Hou
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=57323B07.1050603@nxp.com \
--to=york.sun@nxp.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