* [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA
@ 2017-04-14 6:48 Zhiqiang Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 2/4] fsl-layerscape/ls1043aqds: enable " Zhiqiang Hou
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Zhiqiang Hou @ 2017-04-14 6:48 UTC (permalink / raw)
To: u-boot
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
The PPA is a EL3 firmware, which support PSCI, hotplug,
power-management features etc.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
board/freescale/ls1043aqds/ls1043aqds.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c
index 6507c09..0a6c3a8 100644
--- a/board/freescale/ls1043aqds/ls1043aqds.c
+++ b/board/freescale/ls1043aqds/ls1043aqds.c
@@ -10,6 +10,7 @@
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/fsl_serdes.h>
+#include <asm/arch/ppa.h>
#include <asm/arch/fdt.h>
#include <asm/arch/mmu.h>
#include <asm/arch/soc.h>
@@ -324,6 +325,10 @@ int board_init(void)
config_serdes_mux();
#endif
+#ifdef CONFIG_FSL_LS_PPA
+ ppa_init();
+#endif
+
return 0;
}
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 2/4] fsl-layerscape/ls1043aqds: enable FSL PPA
2017-04-14 6:48 [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA Zhiqiang Hou
@ 2017-04-14 6:48 ` Zhiqiang Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate " Zhiqiang Hou
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Zhiqiang Hou @ 2017-04-14 6:48 UTC (permalink / raw)
To: u-boot
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
configs/ls1043aqds_defconfig | 1 +
configs/ls1043aqds_lpuart_defconfig | 1 +
configs/ls1043aqds_nand_defconfig | 1 +
configs/ls1043aqds_nor_ddr3_defconfig | 1 +
configs/ls1043aqds_qspi_defconfig | 1 +
configs/ls1043aqds_sdcard_ifc_defconfig | 1 +
configs/ls1043aqds_sdcard_qspi_defconfig | 1 +
7 files changed, 7 insertions(+)
diff --git a/configs/ls1043aqds_defconfig b/configs/ls1043aqds_defconfig
index 838bf1d..cb137b2 100644
--- a/configs/ls1043aqds_defconfig
+++ b/configs/ls1043aqds_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1043aqds_lpuart_defconfig b/configs/ls1043aqds_lpuart_defconfig
index c3b3c80..0acaba1 100644
--- a/configs/ls1043aqds_lpuart_defconfig
+++ b/configs/ls1043aqds_lpuart_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-qds-lpuart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1043aqds_nand_defconfig b/configs/ls1043aqds_nand_defconfig
index 75150ed..d168e78 100644
--- a/configs/ls1043aqds_nand_defconfig
+++ b/configs/ls1043aqds_nand_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SPL_SERIAL_SUPPORT=y
diff --git a/configs/ls1043aqds_nor_ddr3_defconfig b/configs/ls1043aqds_nor_ddr3_defconfig
index 8f99256..fd8d0f6 100644
--- a/configs/ls1043aqds_nor_ddr3_defconfig
+++ b/configs/ls1043aqds_nor_ddr3_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1043aqds_qspi_defconfig b/configs/ls1043aqds_qspi_defconfig
index 7b01ab8..4da173d 100644
--- a/configs/ls1043aqds_qspi_defconfig
+++ b/configs/ls1043aqds_qspi_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1043aqds_sdcard_ifc_defconfig b/configs/ls1043aqds_sdcard_ifc_defconfig
index acb811d..ba484e4 100644
--- a/configs/ls1043aqds_sdcard_ifc_defconfig
+++ b/configs/ls1043aqds_sdcard_ifc_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SPL_MMC_SUPPORT=y
diff --git a/configs/ls1043aqds_sdcard_qspi_defconfig b/configs/ls1043aqds_sdcard_qspi_defconfig
index 78153ff..35688a4 100644
--- a/configs/ls1043aqds_sdcard_qspi_defconfig
+++ b/configs/ls1043aqds_sdcard_qspi_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1043AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SPL_MMC_SUPPORT=y
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate FSL PPA
2017-04-14 6:48 [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA Zhiqiang Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 2/4] fsl-layerscape/ls1043aqds: enable " Zhiqiang Hou
@ 2017-04-14 6:48 ` Zhiqiang Hou
2017-04-18 16:46 ` York Sun
2017-04-14 6:48 ` [U-Boot] [PATCH 4/4] fsl-layerscape/ls1046aqds: enable " Zhiqiang Hou
2017-04-26 22:20 ` [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate " York Sun
3 siblings, 1 reply; 7+ messages in thread
From: Zhiqiang Hou @ 2017-04-14 6:48 UTC (permalink / raw)
To: u-boot
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
The PPA is a EL3 firmware, which support PSCI, hotplug,
power-management features etc.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
board/freescale/ls1046aqds/ls1046aqds.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/board/freescale/ls1046aqds/ls1046aqds.c b/board/freescale/ls1046aqds/ls1046aqds.c
index af3f70a..595b1e8 100644
--- a/board/freescale/ls1046aqds/ls1046aqds.c
+++ b/board/freescale/ls1046aqds/ls1046aqds.c
@@ -10,6 +10,7 @@
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/fsl_serdes.h>
+#include <asm/arch/ppa.h>
#include <asm/arch/fdt.h>
#include <asm/arch/mmu.h>
#include <asm/arch/soc.h>
@@ -265,6 +266,10 @@ int board_init(void)
if (adjust_vdd(0))
printf("Warning: Adjusting core voltage failed.\n");
+#ifdef CONFIG_FSL_LS_PPA
+ ppa_init();
+#endif
+
return 0;
}
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 4/4] fsl-layerscape/ls1046aqds: enable FSL PPA
2017-04-14 6:48 [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA Zhiqiang Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 2/4] fsl-layerscape/ls1043aqds: enable " Zhiqiang Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate " Zhiqiang Hou
@ 2017-04-14 6:48 ` Zhiqiang Hou
2017-04-26 22:20 ` [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate " York Sun
3 siblings, 0 replies; 7+ messages in thread
From: Zhiqiang Hou @ 2017-04-14 6:48 UTC (permalink / raw)
To: u-boot
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
configs/ls1046aqds_defconfig | 1 +
configs/ls1046aqds_lpuart_defconfig | 1 +
configs/ls1046aqds_nand_defconfig | 1 +
configs/ls1046aqds_qspi_defconfig | 1 +
configs/ls1046aqds_sdcard_ifc_defconfig | 1 +
configs/ls1046aqds_sdcard_qspi_defconfig | 1 +
6 files changed, 6 insertions(+)
diff --git a/configs/ls1046aqds_defconfig b/configs/ls1046aqds_defconfig
index 66b4fd1..28a3a8e 100644
--- a/configs/ls1046aqds_defconfig
+++ b/configs/ls1046aqds_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1046aqds_lpuart_defconfig b/configs/ls1046aqds_lpuart_defconfig
index 85ef8e0..fe7829d 100644
--- a/configs/ls1046aqds_lpuart_defconfig
+++ b/configs/ls1046aqds_lpuart_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-qds-lpuart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1046aqds_nand_defconfig b/configs/ls1046aqds_nand_defconfig
index f0730b6..99bef90 100644
--- a/configs/ls1046aqds_nand_defconfig
+++ b/configs/ls1046aqds_nand_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1046aqds_qspi_defconfig b/configs/ls1046aqds_qspi_defconfig
index 6520ceb..d7227d7 100644
--- a/configs/ls1046aqds_qspi_defconfig
+++ b/configs/ls1046aqds_qspi_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1046aqds_sdcard_ifc_defconfig b/configs/ls1046aqds_sdcard_ifc_defconfig
index 16bb94d..7552286 100644
--- a/configs/ls1046aqds_sdcard_ifc_defconfig
+++ b/configs/ls1046aqds_sdcard_ifc_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
diff --git a/configs/ls1046aqds_sdcard_qspi_defconfig b/configs/ls1046aqds_sdcard_qspi_defconfig
index 9e78115..b33ba9e 100644
--- a/configs/ls1046aqds_sdcard_qspi_defconfig
+++ b/configs/ls1046aqds_sdcard_qspi_defconfig
@@ -1,5 +1,6 @@
CONFIG_ARM=y
CONFIG_TARGET_LS1046AQDS=y
+CONFIG_FSL_LS_PPA=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-qds-duart"
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate FSL PPA
2017-04-14 6:48 ` [U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate " Zhiqiang Hou
@ 2017-04-18 16:46 ` York Sun
2017-04-19 2:43 ` Z.Q. Hou
0 siblings, 1 reply; 7+ messages in thread
From: York Sun @ 2017-04-18 16:46 UTC (permalink / raw)
To: u-boot
On 04/14/2017 12:03 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>
> The PPA is a EL3 firmware, which support PSCI, hotplug,
> power-management features etc.
>
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> ---
> board/freescale/ls1046aqds/ls1046aqds.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/board/freescale/ls1046aqds/ls1046aqds.c b/board/freescale/ls1046aqds/ls1046aqds.c
> index af3f70a..595b1e8 100644
> --- a/board/freescale/ls1046aqds/ls1046aqds.c
> +++ b/board/freescale/ls1046aqds/ls1046aqds.c
> @@ -10,6 +10,7 @@
> #include <asm/io.h>
> #include <asm/arch/clock.h>
> #include <asm/arch/fsl_serdes.h>
> +#include <asm/arch/ppa.h>
> #include <asm/arch/fdt.h>
> #include <asm/arch/mmu.h>
> #include <asm/arch/soc.h>
> @@ -265,6 +266,10 @@ int board_init(void)
> if (adjust_vdd(0))
> printf("Warning: Adjusting core voltage failed.\n");
>
> +#ifdef CONFIG_FSL_LS_PPA
> + ppa_init();
> +#endif
> +
Zhiqiang,
This patch looks OK. While you are verifying PPA, can you check if you
can remove the calling of enable_layerscape_ns_access() in the same
file? It is required for PPA to work, but I believe it is already called
in board_early_init_f(), by calling fsl_lsch2_early_init_f().
York
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate FSL PPA
2017-04-18 16:46 ` York Sun
@ 2017-04-19 2:43 ` Z.Q. Hou
0 siblings, 0 replies; 7+ messages in thread
From: Z.Q. Hou @ 2017-04-19 2:43 UTC (permalink / raw)
To: u-boot
Hi York,
Thanks a lot for your comments!
> -----Original Message-----
> From: York Sun [mailto:york.sun at nxp.com]
> Sent: 2017年4月19日 0:46
> To: Z.Q. Hou <zhiqiang.hou@nxp.com>; u-boot at lists.denx.de; Mingkai Hu
> <mingkai.hu@nxp.com>
> Subject: Re: [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate FSL PPA
>
> On 04/14/2017 12:03 AM, Zhiqiang Hou wrote:
> > From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> >
> > The PPA is a EL3 firmware, which support PSCI, hotplug,
> > power-management features etc.
> >
> > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> > ---
> > board/freescale/ls1046aqds/ls1046aqds.c | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/board/freescale/ls1046aqds/ls1046aqds.c
> > b/board/freescale/ls1046aqds/ls1046aqds.c
> > index af3f70a..595b1e8 100644
> > --- a/board/freescale/ls1046aqds/ls1046aqds.c
> > +++ b/board/freescale/ls1046aqds/ls1046aqds.c
> > @@ -10,6 +10,7 @@
> > #include <asm/io.h>
> > #include <asm/arch/clock.h>
> > #include <asm/arch/fsl_serdes.h>
> > +#include <asm/arch/ppa.h>
> > #include <asm/arch/fdt.h>
> > #include <asm/arch/mmu.h>
> > #include <asm/arch/soc.h>
> > @@ -265,6 +266,10 @@ int board_init(void)
> > if (adjust_vdd(0))
> > printf("Warning: Adjusting core voltage failed.\n");
> >
> > +#ifdef CONFIG_FSL_LS_PPA
> > + ppa_init();
> > +#endif
> > +
>
> Zhiqiang,
>
> This patch looks OK. While you are verifying PPA, can you check if you can
> remove the calling of enable_layerscape_ns_access() in the same file? It is
> required for PPA to work, but I believe it is already called in
> board_early_init_f(), by calling fsl_lsch2_early_init_f().
Yes, you're right, and I will send another patch to remove the duplicate call.
Thanks,
Zhiqiang
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA
2017-04-14 6:48 [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA Zhiqiang Hou
` (2 preceding siblings ...)
2017-04-14 6:48 ` [U-Boot] [PATCH 4/4] fsl-layerscape/ls1046aqds: enable " Zhiqiang Hou
@ 2017-04-26 22:20 ` York Sun
3 siblings, 0 replies; 7+ messages in thread
From: York Sun @ 2017-04-26 22:20 UTC (permalink / raw)
To: u-boot
On 04/14/2017 12:03 AM, Zhiqiang Hou wrote:
> From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
>
> The PPA is a EL3 firmware, which support PSCI, hotplug,
> power-management features etc.
>
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
> ---
> board/freescale/ls1043aqds/ls1043aqds.c | 5 +++++
> 1 file changed, 5 insertions(+)
This set (except the last patch) is applied to fsl-qoriq master, with
minor change in tag (subject). The last patch is not need due to a
similar patch applied earlier.
York
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-04-26 22:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-14 6:48 [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate FSL PPA Zhiqiang Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 2/4] fsl-layerscape/ls1043aqds: enable " Zhiqiang Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 3/4] fsl-layerscape/ls1046aqds: Integrate " Zhiqiang Hou
2017-04-18 16:46 ` York Sun
2017-04-19 2:43 ` Z.Q. Hou
2017-04-14 6:48 ` [U-Boot] [PATCH 4/4] fsl-layerscape/ls1046aqds: enable " Zhiqiang Hou
2017-04-26 22:20 ` [U-Boot] [PATCH 1/4] fsl-layerscape/ls1043aqds: Integrate " York Sun
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.