> Subject: [PATCH] imx8: Run SPL with caches enabled
>
> It is safe to run SPL with caches enabled on i.MX8, so remove such
> restriction.
>
> Signed-off-by: Fabio Estevam
Acked-by: Peng Fan
Hi Tom,
Please pull mmc-2020-4-22.
I dropped the env patchset from the pull request since delegation change,
but my CI still have the 3 patches, but without the 3 patches would not
cause build issue.
-
iproc_sdhci memory
4:26 +0800)
Breno Lima (2):
doc: ahab: Add encrypted boot documentation for i.MX8/8x devices
imx8: scu api: Add support for SECO manufacturing protection APIs
Franck LENORMAND (1):
imx8: Configure SNVS
Pe
> Subject: Re: Please pull NXP i.MX nxp-imx-master-4-22
>
> On 22.04.20 14:40, Peng Fan wrote:
> > Hi Stefano,
> >
> > Please pull NXP i.MX nxp-imx-master-4-22, based on yours master branch.
> > CI:
> > https://eur01.safelinks.protection.outlook.com/
From: Ye Li
According to iMX8MM datasheet (IMX8MMIEC_Rev_D and IMX8MMCEC_Rev_D),
the speed grading for imx8mm is 800Mhz, 1.2Ghz, 1.6Ghz and 1.8Ghz.
Update them to get_cpu_speed_grade_hz function.
Signed-off-by: Ye Li
Reviewed-by: Peng Fan
---
arch/arm/mach-imx/cpu.c | 6 +++---
1 file
i.MX8MP use 0x182 as its ID, so 0xff is not valid to get the cpu type,
extend it to 0x1ff.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/sys_proto.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h
b/arch/arm/include/asm
: Peng Fan
---
arch/arm/mach-imx/cpu.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 55e3539cff..5b979cc1f5 100644
--- a/arch/arm/mach-imx/cpu.c
+++ b/arch/arm/mach-imx/cpu.c
@@ -314,6 +314,7 @@ enum
i.MX8MP speed grade use same layout as i.MX8MN, so reuse it for i.MX8MP
Reviewed-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index 5b979cc1f5..8217913b4a
Add i.MX8MQ Dual and QuadLite variants.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx/cpu.h | 2 ++
arch/arm/include/asm/mach-imx/sys_proto.h | 4 +++-
arch/arm/mach-imx/cpu.c | 6 +-
arch/arm/mach-imx/imx8m/soc.c | 10 +-
4 files
Add i.MX8MN variants support
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx/cpu.h | 5 +
arch/arm/include/asm/mach-imx/sys_proto.h | 9 -
arch/arm/mach-imx/cpu.c | 12 +++-
arch/arm/mach-imx/imx8m/soc.c | 19
Acquire ATF commit hash when booting U-Boot to make user easy
to know the ATF version.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
index
Update is_imx6ull helper to include i.MX6ULZ SoC. i.MX6ULZ could
share same macro, then we no need to add is_imx6ulz in various drivers.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/sys_proto.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm
From: Ye Li
Add the dump of DRAM PLL into "clocks" command
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
---
arch/arm/mach-imx/imx8m/clock_imx8mq.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c
b/arch/arm/mach-imx/imx8m/clock_imx8
-initialization.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/clock_imx8mq.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c
b/arch/arm/mach-imx/imx8m/clock_imx8mq.c
index aad9cf13ef..76104e4f92 100644
--- a
fixes the CORE SEL slice configuration and switch ARM clock
to ARM PLL.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 3 +-
arch/arm/mach-imx/imx8m/clock_imx8mq.c | 49 +-
2 files changed, 35 insertions(+), 17 deletions(-)
diff --git a
Update clock root table to let it be easy to configure clock at
very early stage. Also the core_sel mux parent should be A53 CLK
root and ARM PLL.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/clock_imx8mm.h | 3 +-
arch/arm/mach-imx/imx8m/clock_slice.c | 824
parameter 'end address' must be inclusive of address range.
Modified from Seb's downstream patch.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/parse-container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx8/parse-container.c
From: Ye Li
Latest SCFW has removed old MISC SECO commands. So update the codes
to use new SECO commands.
Signed-off-by: Ye Li
Reviewed-by: Peng Fan
---
arch/arm/mach-imx/imx8/ahab.c| 6 +++---
arch/arm/mach-imx/imx8/parse-container.c | 6 +++---
2 files changed, 6 insertions
parameter 'end address' must be inclusive of address range.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/ahab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx8/ahab.c b/arch/arm/mach-imx/imx8/ahab.c
index 361c578efc..89544b3dc6 100644
From: Seb Fagard
In SPL build, the formatting '%llx' in debug() is not supported.
Also, fix some misplaced parameters in printf.
Reviewed-by: Ye Li
Signed-off-by: Seb Fagard
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/ahab.c | 7 +++
1 file changed, 3 insertions(+), 4
Move the SIP macro to common header and unify the name to
make others could reuse them.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/misc.c | 8 +++-
include/imx_sip.h | 5 -
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-imx/imx8/misc.c b
image.
Signed-off-by: Catia Han
Signed-off-by: Breno Lima
Signed-off-by: Peng Fan
---
doc/imx/ahab/csf_examples/csf_enc_boot_image.txt | 27 +++
doc/imx/ahab/guides/mx8_mx8x_encrypted_boot.txt | 293 +++
2 files changed, 320 insertions(+)
create mode 100644 doc/imx/ahab
In SPL build, the formatting '%llx' in debug() is not supported.
Also, fix some misplaced parameters in printf.
Modified from Seb Fagard's downstream patch
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8/parse-container.c | 10 +-
1 file changed, 5 insertions(
the WDOG_B for timeout as well, and set
WDOG timeout to 1s.
Acked-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach
From: Ye Li
Sync the latest SCFW API with below commit
6dcd0242ae7a53ac ("SCF-105: Revert accidental change") to add
interfaces for PM resource reset and read/write SNVS security
violation and tamper DGO registers.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/includ
From: Ye Li
The fracpll decoding is using the bit definitions for int pll. Most of
them are same, but the CLKE bit is different. Fix the wrong CLKE_MASK
for fracpll and correct all bit definitions in fracpll decoding.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
configuration of the tamper pins
- snvs_clear_status: Allow to write to LPSR and LPTDSR to clear
status bits
Signed-off-by: Franck LENORMAND
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/sci/sci.h | 4 +
arch/arm/include/asm/arch-imx8
From: Breno Lima
SECO provides APIs to support CAAM manufacturing protection:
- sc_seco_get_mp_key()
- sc_seco_get_mp_sign()
- sc_seco_update_mpmr()
Add SCFW APIs support.
Signed-off-by: Breno Lima
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8/sci/sci.h | 4 ++
drivers/misc
Configure SNVS
Peng Fan (13):
imx: fix cpu_type helper
imx8mn: Update speed grade
imx: cpu: support speed grade for i.MX8MP
imx: imx8m: add i.MX8MQ Dual and QuadLite support
imx: imx8m: add i.MX8MN variants support
imx: update is_imx6ull to include i.MX6ULZ
> Subject: Re: [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ
>
> Am Mittwoch, 22. April 2020, 15:52:18 CEST schrieb Peng Fan:
> > Update is_imx6ull helper to include i.MX6ULZ SoC. i.MX6ULZ could share
> > same macro, then we no need to add is_imx6ulz in various dr
> Subject: Re: Please pull NXP i.MX nxp-imx-20200422
>
> Hi Peng,
>
> On Wed, Apr 22, 2020 at 10:54 AM Peng Fan wrote:
> >
> > Hi Stefano,
> >
> > Please pull this version nxp-imx-20200422, with patches sent out to ML.
> > Based on yours master
> Subject: Re: [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ
>
> Hi,
>
> Am Donnerstag, 23. April 2020, 03:33:49 CEST schrieb Peng Fan:
> > > Subject: Re: [PATCH 07/24] imx: update is_imx6ull to include
> > > i.MX6ULZ
> > >
> > > Am M
> Subject: Re: Please pull NXP i.MX nxp-imx-20200422
>
> Hi Peng,
>
> On Wed, Apr 22, 2020 at 10:54 AM Peng Fan wrote:
> >
> > Hi Stefano,
> >
> > Please pull this version nxp-imx-20200422, with patches sent out to ML.
> > Based on yours master
;
> Signed-off-by: Simon Glass
Acked-by: Peng Fan
CONFIG_EFI_STUB
> #define ll_boot_init() false
> #else
> -#define ll_boot_init() true
> +#define ll_boot_init() (!(gd->flags & GD_FLG_SKIP_LL_INIT))
> #endif
Reviewed-by: Peng Fan
> Subject: RE: [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ
>
> > Subject: Re: [PATCH 07/24] imx: update is_imx6ull to include i.MX6ULZ
> >
> > Hi,
> >
> > Am Donnerstag, 23. April 2020, 03:33:49 CEST schrieb Peng Fan:
> > > > Subj
Update clock root table to let it be easy to configure clock at
very early stage. Also the core_sel mux parent should be A53 CLK
root and ARM PLL.
Reviewed-by: Fabio Estevam
Signed-off-by: Peng Fan
---
V2:
Add Fabio's R-b tag
Based on Marek's fec clock part to avoid conflict
ot documentation for i.MX8/8x devices
imx8: scu api: Add support for SECO manufacturing protection APIs
Franck LENORMAND (1):
imx8: Configure SNVS
Marek Vasut (1):
ARM: imx: imx8mm: Add missing clock entries for FEC clock
Peng Fan (13):
imx: fix cpu_type helper
imx8mn
: implement callbaks to get interface and set txclk rate
Peng Fan (1):
net: eth-uclass: add return value check
Ye Li (4):
net: Add eth phy generic driver for shared MDIO
net: Update eQos driver and FEC driver to use eth phy interfaces
fec: Move imx_get_mac_from_fuse declare to imx file
eQos
From: Fugang Duan
Add RX delay enable support for RTL8211F PHY.
Reviewed-by: Ye Li
Signed-off-by: Fugang Duan
Signed-off-by: Peng Fan
---
drivers/net/phy/realtek.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c
index
From: Ye Li
Update eQoS and fec ethernet drivers to support shared MDIO framework
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 45 +++--
drivers/net/fec_mxc.c | 16 ++--
2 files changed, 45 insertions
Add return value check
Signed-off-by: Peng Fan
---
net/eth-uclass.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 8bf2eabe90..950a48d520 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -40,8 +40,12 @@ static
From: Fugang Duan
Add dwc eqos for imx support.
Reviewed-by: Ye Li
Signed-off-by: Fugang Duan
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 187 ++
1 file changed, 173 insertions(+), 14 deletions(-)
diff --git a/drivers/net
g its MDIO.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/net/Kconfig | 6 +++
drivers/net/Makefile | 1 +
drivers/net/eth-phy-uclass.c | 122 ++
include/dm/uclass-id.h | 1 +
include/eth_phy.h| 17 ++
From: Ye Li
imx_get_mac_from_fuse is used to load MAC address from fuse. On imx8mp,
we have two different ENET controllers and both need to call this
function. So decouple its declare from fec driver.
Reviewed-by: Fugang Duan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include
From: Ye Li
Implement the read_rom_hwaddr callback to load MAC address from fuse
for imx8m platforms.
Reviewed-by: Fugang Duan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/net
From: Fugang Duan
Implement the callbacks to get phy mode interface and txclk
rate configuration.
Reviewed-by: Ye Li
Signed-off-by: Fugang Duan
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 42 --
1 file changed, 40 insertions(+), 2
Hi Tom,
Please pull u-boot-mmc mmc-10-10-2019
Add sdhci driver for Broadcom iProc platform
add a driver callback for power-cycle for mmc
implement host_power_cycle callback for stm32_sdmmc2
spl: dm_mmc: Initialize only the required mmc devi
/u-boot.git imx-master-10-14
for you to fetch changes up to 2959d05c04516e0dddfb0d14a6f2190e43ad8c41:
imx8qxp: mek: add secure boot script (2019-10-14 10:12:00 +0800)
Peng Fan (27):
imx: imx8mm_evk: add board_mmc_get_env_dev
> Subject: Re: [NXP-IMX] please pull imx-master-10-14
>
> Hi Peng,
>
> On 14/10/19 11:48, Peng Fan wrote:
> > Hi Stefano,
> >
> > Please pull imx-master-10-14. This pull request was based on imx/master.
> >
>
> I have 40 patches already applied in m
Hi Stefano,
>
> > Subject: Re: [NXP-IMX] please pull imx-master-10-14
> >
> > Hi Peng,
> >
> > On 14/10/19 11:48, Peng Fan wrote:
> > > Hi Stefano,
> > >
> > > Please pull imx-master-10-14. This pull request was based on imx/master.
> Subject: [PATCH] imx: require CCM driver only on i.MX8MM
>
> Since there is no clock driver like that for i.MX8MQ, we cannot require it on
> that platform, so make sure it is only built for i.MX8MM. This makes
> i.MX8MQ platforms work again.
I would add this:
diff --git a/arch/arm/mach-imx/im
> Subject: [PATCH] imx: update i.MX8MQ device trees
>
> This updates the i.MX8MQ device trees and, necessarily, also the
> i.MX8MQ clock bindings. These are taken verbatim from from the
> Linux kernel version v5.4-rc2, which three small changes which
> were already part of the previous device tre
he previous device tree:
>
> * Keep the PSCI reserved memory range
> * Keep the alias for ethernet, so that the MAC address can be set
> * Keep the modified #include for the IOMUXC pins
>
> Signed-off-by: Patrick Wildt
Acked-by: Peng Fan
> ---
> arch/arm/dts/Makefil
When CONFIG_$(SPL_)CLK not defined, the clock controller device
not exist, so to avoid boot failure for platform not have
CONFIG_$(SPL_)CLK, add a check.
Reviewed-by: Patrick Wildt
Tested-by: Patrick Wildt
Signed-off-by: Peng Fan
---
V1:
Based on pull request https://github.com/MrVan/u-boot
This patch is to enable BD71837 pmic for i.MX8MM EVK.
Two i.MX8MQ patches are also included.
Peng Fan (10):
imx8m: imx8mq: get chip rev for B1 revision
imx8m: clock: improve irq response latency
imx: imx8mq: add init_nand_clk
imx: spl: implement spl_boot_mode for i.MX7/8/8M
dt-bindings
The i.MX8MQ B1 uses OCOTP_HW_OCOTP_READ_FUSE_DATA register for chip id.
It returns a magic number 0xff0055aa. update get_cpu_rev to support it,
and enable ocotp clock to access ocotp.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/clock_imx8mq.c | 1 +
arch/arm/mach-imx/imx8m/soc.c
Improve the IRQ response latency by setting GIC root clock source to
sys_pll2_200m from osc.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/clock_imx8mq.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mq.c
b/arch/arm/mach-imx/imx8m
Import usb pd bindings from Linux 5.4.0-rc1.
This file will be included by imx8mm-evk.dts.
Signed-off-by: Peng Fan
---
include/dt-bindings/usb/pd.h | 88
1 file changed, 88 insertions(+)
create mode 100644 include/dt-bindings/usb/pd.h
diff --git a
It will be easy to separate SD/EMMC when booting in SPL stage, then
no need to bother which device is BOOT_DEVICE_MMC1/2.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/spl.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/arch/arm/mach-imx/spl.c b/arch/arm
Add init_nand_clk to enable gpmi nand clock. Since i.MX8MQ not use CCF,
so we still use legacy mode to configure the clock.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 2 ++
arch/arm/mach-imx/imx8m/clock_imx8mq.c | 9 +
2 files changed, 11
Sync dts for i.MX8MM from Linux Kernel 5.4.0-rc1
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 2 +-
arch/arm/dts/imx8mm-evk.dts | 285 +++-
arch/arm/dts/imx8mm.dtsi| 222 ++--
3 files changed, 459
We are going to add i2c pmic support before dram could be used.
So we need enable clk driver earlier, so use spl_early_init
and move clock controller probe eariler to board_init_f.
Signed-off-by: Peng Fan
---
board/freescale/imx8mm_evk/spl.c | 22 +++---
1 file changed, 11
Add CONFIG_SPL_DM_PMIC_BD71837 to make this driver could be
used in SPL stage
Signed-off-by: Peng Fan
---
drivers/power/pmic/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
index 586772fdec..4718dc700c 100644
--- a
Drop DEBUG macro definition which is used for debug purpose.
Signed-off-by: Peng Fan
---
drivers/power/pmic/bd71837.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/power/pmic/bd71837.c b/drivers/power/pmic/bd71837.c
index e292d42a8c..2e04298273 100644
--- a/drivers/power/pmic
Enable bd71837 pmic for i.MX8MM EVK board, need to set voltage for
DRAM and linux suspend voltage requirement.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 20 ++
board/freescale/imx8mm_evk/spl.c| 41 +
configs
Hi Anatolij,
> -Original Message-
> From: Anatolij Gustschin
> Sent: 2019年10月21日 23:22
> To: u-boot@lists.denx.de
> Cc: sba...@denx.de; feste...@gmail.com; dl-uboot-imx
> ; Ye Li
> Subject: [PATCH] imx: imx8: fix loading container image from eMMC boot
> partitions
>
> Booting with image
efine FEC_QUIRK_ENET_MAC
>
> +/* Misc configuration */
> +#define CONFIG_SYS_CBSIZE2048
> +#define CONFIG_SYS_MAXARGS 64
> +#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
> +
> #endif /* __IMX8QXP_MEK_H */
> --
Reviewed-by: Peng Fan
> 2.17.1
_
Hi Anatolij
> Subject: [PATCH 2/3] imx8: add sc_misc_seco_build_info()
sc_seco_build_info already in Stefano's tree.
Thanks,
Peng.
>
> Add function for reading SECO-FW commit id.
>
> Signed-off-by: Anatolij Gustschin
> ---
> arch/arm/include/asm/arch-imx8/sci/sci.h | 1 +
> drivers/misc/im
Hi Anatolij,
> Subject: [PATCH 3/3] imx8: output SECO-FW, ATF and imx-mkimage commit
> IDs
>
> Borrow ID reading code from Ye Li (NXP U-Boot, commit ID 5b443e3e2617)
> and add the commit IDs to the environment.
>
> Signed-off-by: Anatolij Gustschin
> ---
> arch/arm/mach-imx/imx8/misc.c | 61
>
mmu_set_region_dcache_behaviour(fb_start, fb_end - fb_start,
> DCACHE_WRITEBACK);
> video_set_flush_dcache(dev, true);
> + gd->fb_base = plat->base;
>
> return ret;
Reviewed-by: Peng Fan
> }
> --
> 2.21.0
This patchset is based on imx/next.
Add imx8mm enet clk
Add fec_mxc more clks support for i.MX8M
Add board code to configure phy and gpr
Fix imx8mm boot
Peng Fan (6):
clk: imx8mm: add enet clk
clk: imx: imx8mm: add set_parent callback
arm: dts: imx8mm: drop assigned clocks for clk node
Add enet ref/timer/PHY_REF/root clk which are required to make enet
function well.
Signed-off-by: Peng Fan
---
drivers/clk/imx/clk-imx8mm.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
index
Drop assigned clocks for clk node, this will break boot on i.MX8MM EVK
board.
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi
b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
index 16093f2067
add phy-reset-gpios to reset phy
Add board_phy_config to configure phy
Enable DM_ETH
Signed-off-by: Peng Fan
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 4
board/freescale/imx8mm_evk/imx8mm_evk.c | 37 +
configs/imx8mm_evk_defconfig| 7
Add set_parent callback, then assigned-clock-parents in dts could
be work.
Signed-off-by: Peng Fan
---
drivers/clk/imx/clk-imx8mm.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
index 4911345fd9..091b092bbb
Make FEC driver could be used by i.MX8M when CONFIG_FEC_MXC defined
in defconfig.
Signed-off-by: Peng Fan
---
drivers/net/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 2ce3092db0..08cdd95727 100644
--- a/drivers/net
Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1
drivers/net/ethernet/freescale/fec_main.c.
Since i.MX8MQ not support CLK_CCF, so add a check to restrict
the code only effect when CONFIG_IMX8M and CONFIG_CLK_CCF both defined.
Signed-off-by: Peng Fan
---
drivers/net/fec_mxc.c | 74
It will ease debug when uclass_get_device_by_name failed with
more error info printed out.
Signed-off-by: Peng Fan
---
drivers/clk/clk.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 1cf9987f6c..4c477a488e 100644
--- a
Hi Anatolij,
> Subject: Re: [PATCH] imx: imx8: fix loading container image from eMMC boot
> partitions
>
> Hi Peng,
>
> On Tue, 22 Oct 2019 02:43:31 +
> Peng Fan peng@nxp.com wrote:
> ...
> > get_boot_device_offset already switched partition, there is no ne
> Subject: Re: [PATCH] imx: imx8: fix loading container image from eMMC boot
> partitions
>
> Hi Peng,
>
> On Tue, 22 Oct 2019 08:13:31 +
> Peng Fan peng@nxp.com wrote:
> ...
> > But I do not understand well. When burn flash.bin into boot partition,
&g
> Subject: Re: [PATCH] imx: imx8: fix loading container image from eMMC boot
> partitions
>
> On Tue, 22 Oct 2019 10:08:42 +0000
> Peng Fan peng@nxp.com wrote:
> ...
> > > > From common/spl/spl_mmc.c, there is boot partition switch there,
> > > >
n switch.
Reported-by: Anatolij Gustschin
Signed-off-by: Peng Fan
---
common/spl/spl_mmc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index 34e1e73d80..2ede096e61 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/s
gt; I assume that this change is not causing regressions on other i.MX boards?
> (Like i.MX6Q or i.MX53)
No regression on other i.MX boards. Only i.MX8QM/8QXP has this issue currently.
Regards,
Peng.
>
> > Reported-by: Anatolij Gustschin
> > Signed-off-by: Peng Fan
> > -
> Subject: Re: [PATCH V1 6/6] imx: imx8mm-evk: enable ethernet
>
> Hi Peng,
>
> On Tue, Oct 22, 2019 at 12:30 AM Peng Fan wrote:
> >
> > add phy-reset-gpios to reset phy
> > Add board_phy_config to configure phy
> > Enable DM_ETH
> >
> > Signed
> Subject: Re: [U-Boot] [PATCH V1 5/6] net: fec_mxc: support i.MX8M with
> CLK_CCF
>
> On 22.10.19 05:30, Peng Fan wrote:
> > Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1
> > drivers/net/ethernet/freescale/fec_main.c.
> >
> > Since i.MX8MQ no
/configs/mx7ulp_evk_defconfig
> +++ b/configs/mx7ulp_evk_defconfig
> @@ -17,6 +17,7 @@ CONFIG_CMD_FAT=y
> CONFIG_OF_CONTROL=y
> CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk"
> CONFIG_ENV_IS_IN_MMC=y
> +# CONFIG_NET is not set
> CONFIG_DM=y
> CONFIG_DM_GPIO=y
> CONFIG_
#define CONFIG_SYS_MMC_ENV_PART 0/* user area */
> #define CONFIG_MMCROOT "/dev/mmcblk0p2" /*
> USDHC1 */
Reviewed-by: Peng Fan
> --
> 2.17.1
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
_400m",
> +static const char *imx8mm_ahb_sels[] = {"clock-osc-24m",
> +"sys_pll1_133m", "sys_pll1_800m", "sys_pll1_400m",
> "sys_pll2_125m", "sys_pll3_out",
> "audio_pll1_out",
> "video_pll1_out", };
>
> static const char *imx8mm_enet_axi_sels[] = {"clock-osc-24m",
> "sys_pll1_266m", "sys_pll1_800m", "sys_pll2_250m",
Reviewed-by: Peng Fan
> --
> 2.17.1
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
CMC1_RBASE
> -#define IRAM_BASE_ADDR OCRAM_0_BASE
> -#define IOMUXC_BASE_ADDR IOMUXC1_RBASE
> -
> #define CONFIG_SYS_MMC_ENV_DEV 0/* USDHC1 */
> #define CONFIG_SYS_MMC_ENV_PART 0/* user
> Subject: Re: [PATCH] clk: imx: imx8mm: Fix the first root clock in
> imx8mm_ahb_sels[]
>
> Hi Frieder,
>
> On Wed, Oct 23, 2019 at 1:36 PM Schrempf Frieder
> wrote:
> >
> > From: Frieder Schrempf
> >
> > The 24MHz oscillator clock is referenced by "clock-osc-24m" and not
> > "osc_24m".
>
> I
Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1
drivers/net/ethernet/freescale/fec_main.c.
Since i.MX8MQ not support CLK_CCF, so add a check to restrict
the code only effect when CONFIG_IMX8M and CONFIG_CLK_CCF both defined.
Signed-off-by: Peng Fan
---
V2:
Drop CONFIG_IMX8M and
Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1
drivers/net/ethernet/freescale/fec_main.c.
Since i.MX8MQ not support CLK_CCF, so add a check to restrict
the code only effect when CONFIG_IMX8M and CONFIG_CLK_CCF both defined.
Signed-off-by: Peng Fan
---
V3:
Drop unneeded else
> Subject: Re: [PATCH] clk: imx: imx8mm: Fix the first root clock in
> imx8mm_ahb_sels[]
>
> On Wed, Oct 23, 2019 at 10:11 PM Peng Fan wrote:
>
> > No, kernel is right. It is U-Boot CCF specific.
>
> Can we make U-Boot to handle the same clock name as in kernel?
L
> Subject: Re: [PATCH 2/3] imx8: add sc_misc_seco_build_info()
>
> Hi Peng,
>
> On Tue, 22 Oct 2019 02:47:28 +
> Peng Fan peng@nxp.com wrote:
> ...
> > > Subject: [PATCH 2/3] imx8: add sc_misc_seco_build_info()
> >
> > sc_seco_build_info already
Add more clks for fec_mxc according to Linux Kernel 5.4.0-rc1
drivers/net/ethernet/freescale/fec_main.c.
Since i.MX8MQ not support CLK_CCF, so add a check to restrict
the code only effect when CONFIG_IMX8M and CONFIG_CLK_CCF both defined.
Reviewed-by: Frieder Schrempf
Signed-off-by: Peng Fan
t; From: Yangbo Lu
> > Sent: Monday, October 21, 2019 6:09 PM
> > To: u-boot@lists.denx.de; Peng Fan
> > Cc: Y.b. Lu
> > Subject: [PATCH 0/3] mmc: fsl_esdhc: clean up driver
> >
> > This patch-set is to clean up driver. There is still a lot of work to
> >
/mmc-10-29-2019
for you to fetch changes up to a335f80502131e9e2b58a0281f5fc78018295ea4:
spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition
(2019-10-29 10:09:44 +0800)
--------
Peng Fan (1):
spl: spl_mmc: f
> Subject: [PATCH] Convert CONFIG_MXC_UART to Kconfig
>
> This converts the following to Kconfig:
>CONFIG_MXC_UART
>
> Signed-off-by: Tom Rini
> ---
Acked-by: Peng Fan
Hi Tom,
> Subject: Update of dts files for U-Boot for i.MX
>
> Hey,
>
> Can we please get the various i.MX dts files (and related) re-synced with the
> kernel? In looking at the various dts warnings we see in our build, even on
> something like i.MX7 we see warnings because our dts files are ou
501 - 600 of 5550 matches
Mail list logo