Josep Orga [Tue, 28 Apr 2020 14:07:05 +0000 (16:07 +0200)]
arm: dts: Correct identation and GPIOs.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Tue, 28 Apr 2020 13:45:07 +0000 (15:45 +0200)]
arm: dts: Removed not used peripherals.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Tue, 28 Apr 2020 11:27:30 +0000 (13:27 +0200)]
configs: Change fdt_file name to imx6ull_somdevices.dtb.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Tue, 28 Apr 2020 11:22:03 +0000 (13:22 +0200)]
arm: imx: Add EEPROM for MAC functionallity:
imx6ull-somdevices.dts: Remove some unused functionallity and set I2C2 correctly.
imx6ull_somdevices.c: Read EEPROM bytes and set in ethaddr variables environment.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Mon, 27 Apr 2020 06:33:11 +0000 (08:33 +0200)]
arm: imx: Removed watchdog registration for reset due to problems booting kernel when reset is set.
After an u-boot reset (with WDOG registered) the kernel suffer a WDOG hard reset during boot.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sun, 26 Apr 2020 22:20:14 +0000 (00:20 +0200)]
arm: imx: Add eth0 net support to imx6ull_somdevices board.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sun, 26 Apr 2020 09:21:58 +0000 (11:21 +0200)]
arm: imx: Add SOMDEVICES panel with somdevices.bmp logo:
Remove logo version in splash screen.
Remove Tux logo.
Remove blinking cursor.
To create bmp:
convert somdevices.png -bordercolor white -channel RGBA -fuzz 20% -fill black -floodfill +0+0 white -resize 600x146\! -colors 200 -alpha off -type palette -compress none somdevices_small.bmp
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 08:31:43 +0000 (10:31 +0200)]
imx: board: Add support for iMX6ULL SOMDEVICES board.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 08:29:31 +0000 (10:29 +0200)]
arm: imx: Change to somdevices configuration.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 08:07:08 +0000 (10:07 +0200)]
configs: Change name to somdevices.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 08:06:04 +0000 (10:06 +0200)]
configs: Change to somdevices configuration.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 08:03:32 +0000 (10:03 +0200)]
arm: dts: imx6ull-somdevices.dts change model name.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 07:46:48 +0000 (09:46 +0200)]
arm: imx: Renamed mx6ullevk.c -> imx6ull_somdevices.c.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 07:43:31 +0000 (09:43 +0200)]
arm: imx: Add somdevices board files based on freescale/mx6ullevk board files and freescale/common.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Sat, 25 Apr 2020 07:17:50 +0000 (09:17 +0200)]
configs: Add imx6ull_somdevices.h file copying mx6ullevk.h file.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Fri, 24 Apr 2020 15:01:05 +0000 (17:01 +0200)]
configs: Add imx6ull_somdevices_defconfig copying mx6ull_14x14_evk_defconfig file.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Josep Orga [Fri, 24 Apr 2020 14:55:19 +0000 (16:55 +0200)]
ARM: dts: Add imx6ull-somdevices.dts copying imx6ull-14x14-evk.dts.
Signed-off-by: Josep Orga <jorga@somdevices.com>
Ye Li [Tue, 29 Oct 2019 07:11:33 +0000 (00:11 -0700)]
MLK-22866 imx8: Remove the optee shared memory from DDR banks
Optee has 4MB shared memory at its top space which was assigned to
non-secure OS partition in ATF. By default this memory is added to
u-boot DDR banks and will pass to kernel. This means kernel has possibility
to allocate from this memory for system usage. At same time this memory is
used by optee and mem-remapped by optee kernel driver. So it is possible to
have conflict and cause kernel crash.
Fix the issue by removing the shared memory from u-boot DDR banks. Then it
is not visible for both u-boot and kernel and can avoid such issue.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit
164279c42de0d058b7abe198cc154ee683087e6a)
Alice Guo [Wed, 30 Oct 2019 13:47:47 +0000 (21:47 +0800)]
MLK-22865: nandbcb: fix nandbcb dump command bug caused by MLK-22582
In MLK-22582, write memcmp incorrectly as memcpy.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
16a073f563a25401f1ec289db1c82dd8dab61601)
Ye Li [Fri, 25 Oct 2019 08:40:11 +0000 (01:40 -0700)]
MLK-22851-4 imx8mm/imx8mn: Enable eMMC HS400ES and SD UHS mode on EVK
Both imx8mn/imx8mm EVK boards have eMMC 5.1 chip and support SD3.0
So we enable the HS400ES and UHS configs to enhance eMMC/SD access.
The change also needs to set usdhc clock to 400Mhz and update compatible
string to fsl,imx8mm-usdhc
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
cf83fe7dcfcb14dd633ad43ef387793a863e111a)
Ye Li [Fri, 25 Oct 2019 08:28:48 +0000 (01:28 -0700)]
MLK-22851-3 imx8mq: Enable eMMC HS400 and SD UHS mode on EVK
iMX8MQ EVK board has a eMMC5.0 chip and supports SD3.0, so enable the UHS
and HS400 configs to enhance the eMMC/SD access.
The change also needs to set usdhc clock to 400Mhz, and add the off-on-delay-us
to SD reset pin, otherwise some SD cards will fail to select UHS mode in
re-initialization.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
57e1bc5f634be231b2bfd10cf0cbbff86dadd2e1)
Ye Li [Fri, 25 Oct 2019 08:22:00 +0000 (01:22 -0700)]
MLK-22851-2 mmc: fsl_esdhc: Update compatible string for imx8m
To enable HS400 and UHS for imx8m platforms, update the driver data
to share with imx8x platforms and add relevant compatible string.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
e0cc56f76027d014414b5aed6c26af444388093a)
Ye Li [Thu, 24 Oct 2019 02:27:48 +0000 (19:27 -0700)]
MLK-22851-1 mmc: fsl_esdhc: reduce unnecessary clock change
In mmc initial state, the mmc framework sets clock to 0, so the fsl_esdhc
driver converts to use min clock 400Khz. But the priv->clock is logged
400Khz not 0, and cause following calls to set_ios to set clock again.
Each set to clock has 10ms delay for stable, then the problem accumulates
some unnecessary delay.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
151ab3bef2b1ec1c142c31048f3005ebce2a7a18)
Ye Li [Fri, 25 Oct 2019 13:28:36 +0000 (06:28 -0700)]
MLK-22853 DTS: imx: fix the regulator off-on-delay property
The property was changed to "u-boot,off-on-delay-us" in u-boot fixed
regulator. Update the dts to use the new name
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
e68d12af8d17ae1017eacfc73b72ab999ef9837f)
Alice Guo [Fri, 25 Oct 2019 15:32:30 +0000 (23:32 +0800)]
MLK-22842: nandbcb: add nandbcb dump command for i.MX6
Verify/dump boot structures.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
65354b516d9919509fadff096c1ba6808e6975cf)
Alice Guo [Thu, 24 Oct 2019 15:51:11 +0000 (23:51 +0800)]
MLK-22582-2: nandbcb: add nandbcb dump command for i.MX8MM
Verify/dump boot structures written to NAND Flash chip.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
215953009a0429705a3aaaa7c495e6ad7a0a8a3a)
Alice Guo [Thu, 24 Oct 2019 15:49:50 +0000 (23:49 +0800)]
MLK-22582-1: nand: enable the Randomizer module for mx7 and mx8 when call
the function named mxs_nand_ecc_read_page
To enable the Randomizer module, set GPMI_ECCCTRL[RANDOMIZER_ENABLE] to
1, then set GPMI_ECCCOUNT[RANDOMIZER_PAGE] to select randomizer page
number needed to be randomized.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
e8271a1c7621cc3607d3e9c7b0a872342b5f4c95)
Zhang Bo [Thu, 24 Oct 2019 04:54:07 +0000 (12:54 +0800)]
MA-15713-1[Android]Enable HDMI firmware loading for car2 on mek-8qm
Load HDMI firmware to enable HDMI display interface. So car2 image can
support HDMI display.
Change-Id: Ifd55315302319fe6b02f2ea289926a4b748cdb77
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
Zhang Bo [Thu, 24 Oct 2019 09:05:55 +0000 (17:05 +0800)]
MA-15713[Android]Enable multi-display function for car2 on mek-8qm
Copy configs/imx8qm_mek_androidauto2_trusty_defconfig to
configs/imx8qm_mek_androidauto2_trusty_md_defconfig and will base this
file to add some config for HDMI firmware loading.
Change-Id: I34b0ac39fc9314992102d93dd198d5741db4fc36
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
Zhang Bo [Thu, 24 Oct 2019 13:53:15 +0000 (21:53 +0800)]
MA-15724-1[Android]Enable HDMI firmware loading for normal android
As the IMX_LOAD_HDMI_FIMRWARE has moved to Kconfig, it should be enabled
in the defconfig. The IMX_HDMI_FIRMWARE_LOAD_ADDR,
IMX_HDMITX_FIRMWARE_SIZE and IMX_HDMIRX_FIRMWARE_SIZE should set in the
board header file. Or there is build error when enable
CONFIG_IMX_LOAD_HDMI_FIMRWARE=y.
Change-Id: Ie4b655ac886a8f231034e81413a036eb096d6122
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
Zhang Bo [Thu, 24 Oct 2019 13:38:19 +0000 (21:38 +0800)]
MA-15724: hdp: move macro IMX_LOAD_HDMI_FIMRWARE to Kconfig
Move the macro IMX_LOAD_HDMI_FIMRWARE to Kconfig, so it can be enable or
disable in different defconfig.
Change-Id: I2e1291d3bc2d6efb29309525b33b84ba8f9b83da
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
Ji Luo [Thu, 24 Oct 2019 06:06:41 +0000 (14:06 +0800)]
MA-15715-1 Refine trusty logs
Refine trusty logs output to make it more
simple.
Test: boots.
Change-Id: Id94fc245206c5f78e0dbcb0baf5db6475c9f744d
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Breno Lima [Thu, 24 Oct 2019 01:03:35 +0000 (22:03 -0300)]
MLK-22836 imx8m: soc: Fix secure boot support for i.MX8MM and i.MX8MN targets
Since commit
c98b47f1ff60 ("MLK-22749 imx8mq: Add workaround to fix sticky
bits lock up") it's not possible to build i.MX8MM and i.MX8MN targets with
CONFIG_SECURE_BOOT enabled:
CC cmd/version.o
arch/arm/mach-imx/imx8m/soc.c:326:23: error: ‘CONFIG_IMX_UNIQUE_ID’ undeclared \
(first use in this function); did you mean ‘CONFIG_IMX_VIDEO_SKIP’?
if (!is_uid_matched(CONFIG_IMX_UNIQUE_ID))
^~~~~~~~~~~~~~~~~~~~
The OCOTP sticky bit workaround is only needed for i.MX8MQ devices, other devices
should not build the secure_lockup() function.
Add CONFIG_IMX8MQ to the conditional compilation to avoid such issue.
Fixes:
c98b47f1ff60 ("MLK-22749 imx8mq: Add workaround to fix sticky bits lock up")
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
be033bff3c718e8bd7d4ac5ecfe4361892fc6e61)
Han Xu [Mon, 21 Oct 2019 15:42:02 +0000 (10:42 -0500)]
MLK-22827-2: mxs_nand: don't check zero count when ECC reading with randomizer
When enabled randomizer during ECC reading, the controller reported it's
erased page. Checking zero count will cause data get modified to all
0xFF. Stop checking during randomizer to workaround this issue.
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit
f88f68f29026b084396db003c60e0c15995d1670)
Han Xu [Tue, 22 Oct 2019 17:24:39 +0000 (12:24 -0500)]
MLK-22827-1: mxs_nand: bch: add the missing bch register debug0
add the missing bch register debug0
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit
0883946855f7e1eabe26787fbc8529ac412047e7)
Jindong [Tue, 22 Oct 2019 02:26:40 +0000 (10:26 +0800)]
MA-15678 image-android: remove deprecated androidboot.storage_type
androidboot.storage_type has been replaced by androidboot.boot_device_root.
Change-Id: Ibec80808e6ae720be128c0a2d9e2f4d325c56716
Signed-off-by: Jindong <jindong.yue@nxp.com>
Breno Lima [Mon, 14 Oct 2019 00:35:53 +0000 (21:35 -0300)]
MLK-22755 mx7ulp: wdog: Wait for WDOG unlock and reconfiguration to complete
According to i.MX7ULP Reference Manual we should wait for WDOG unlock
and reconfiguration to complete.
Section "59.5.3 Configure Watchdog" provides the following example:
DisableInterrupts; //disable global interrupt
WDOG_CNT = 0xD928C520; //unlock watchdog
while(WDOG_CS[ULK]==0); //wait until registers are unlocked
WDOG_TOVAL = 256; //set timeout value
WDOG_CS = WDOG_CS_EN(1) | WDOG_CS_CLK(1) | WDOG_CS_INT(1) |
WDOG_CS_WIN(0) | WDOG_CS_UPDATE(1);
while(WDOG_CS[RCS]==0); //wait until new configuration takes effect
EnableInterrupts; //enable global interrupt
Update U-Boot WDOG driver to align with i.MX7ULP reference manual.
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
(cherry picked from commit
3ffee301cb4570e0e7681448ec434f0689bcbaa3)
Han Xu [Wed, 16 Oct 2019 22:25:13 +0000 (17:25 -0500)]
MLK-22766-2: configs: remove the unnecessary space in mtdparts
remove the unnecessary space in imx6sx sabreauto mtdparts
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit
c8bbf2b43767fe7be69a0383ab426172b5083ee1)
Han Xu [Wed, 16 Oct 2019 22:24:18 +0000 (17:24 -0500)]
MLK-22766-1: imx6sx: configs: enable mtdparts for imx6sx sabreauto
Enable the mtdparts for imx6sx sabreauto platform
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit
d76d7e0a28c04a51265b8777a82033bd2e74eda5)
faqiang.zhu [Sun, 29 Sep 2019 01:56:31 +0000 (09:56 +0800)]
MA-15339-1 load ramdisk in boot image to do first stage mount
With Android10 code, to build GSI image for devices launching with
Android10, the target should be "aosp_$arch-user". Google releases GSI
images is so built in user mode.
To do CTS-on-GSI test, a debug ramdisk containing .prop file to enable
adb root permission and GSI keys to verify the GSI image is needed, this
ramdisk is in boot image. so ramdisk in boot image need to be loaded by
uboot even in non-recovery mode.
To save boot time, only standard Android use ramdisk to boot up Android,
Android Auto keeps the original way: kernel be responsible for verify
and mount system partition. Let the customers to decide whether to use
recovery ramdisk to boot the system. and under this condition, user-debug
Android Auto GSI image need to be used for VTS-on-GSI test.
when use ramdisk to bootup Android, info provided by "dm=" bootarg is
not used by kernel to setup dm-verity, so it is removed from the
bootargs. The 4.19 kernel used together with this uboot does not handle
"skip_initramfs", so it's also removed.
Change-Id: Ia8b8fa8b85a44acda2670b46504038a009ce01a8
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
Ji Luo [Wed, 9 Oct 2019 12:10:11 +0000 (20:10 +0800)]
MA-15595 imx8m: Remove unnecessary configs to decrease spl size
imx8mq/imx8mn has very limited ocram/tcm size, oversized spl image
will cause build break or boot hang, remove more unnecessary configs
fot imx8mq/imx8mn to reduce the spl size.
Test: boot.
Change-Id: Ib27eeedf892227f83eaaa7601ba1706a8010a860
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ji Luo [Thu, 10 Oct 2019 06:08:39 +0000 (14:08 +0800)]
MA-15601-3 Support secure unlock for imx8q standard Android
Enable config to support secure unlock feature for imx8q standard
Android.
Test: build and boot.
Change-Id: I60825772578832566f48340ffa69bce7365b52db
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ji Luo [Thu, 10 Oct 2019 03:55:55 +0000 (11:55 +0800)]
MA-15601-1 Duplicate config to enable secure unlock for imx8q
Duplicate config based on trusty enabled config file to enable
secure unlock for imx8q standard Android.
Test: boot.
Change-Id: Ib47dc2ecc2d5be69ed840236b6532559eca577f7
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ji Luo [Tue, 8 Oct 2019 13:22:24 +0000 (21:22 +0800)]
MA-15575-3 Add support for oemlock 1.0 hal
Add commands to read oem device unlock state from
trusty avb app. Use the oem device unlock state to
determine if the device can be unlocked instead of
the state in persistdata part.
Test: Read oem device unlock state from avb app.
Change-Id: Ifccaa788ba0f681c2b3a47151c8474e8da5a2559
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ye Li [Tue, 15 Oct 2019 06:08:46 +0000 (23:08 -0700)]
MLK-22757-2 imx8: Change to use new SECO API commands
Latest SCFW has removed old MISC SECO commands. So update the codes
to use new SECO commands.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
8e54efce6d2a1691605ae23983ff91f4a702adba)
Ye Li [Tue, 15 Oct 2019 03:47:58 +0000 (20:47 -0700)]
MLK-22757-1 imx8: Update SCFW API to fix HDP authentication issue
Current codes have wrong definitions for SC_MISC_SECO_AUTH_SECO_FW,
SC_MISC_SECO_AUTH_HDMI_TX_FW and SC_MISC_SECO_AUTH_HDMI_RX_FW and
cause HDP firmware authentication failed.
Sync the API definitions with latest SCFW export.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
87ee3c16a649a418b8c6fdae53234f88a90c8fb3)
Alice Guo [Fri, 11 Oct 2019 20:00:03 +0000 (04:00 +0800)]
MLK-22580-4: nandbcb: imx8mm-evk: implement to burn uboot image to NAND
flash in u-boot for imx8mm-evk
imx8mm-evk uses BCH encoding and randomizer
modify macro and print size_t with %zx
use CONFIG_IMX8M because it should apply to imx8mq/mm/mn
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
8d95b51fd70be29ef6beaa0f65c101b329f04f8e)
Alice Guo [Fri, 11 Oct 2019 18:34:22 +0000 (02:34 +0800)]
MLK-22580-3: imx8mm-evk: config: fix mtdparts and drop CONFIG_MTD_DEVICE
remove space from mtdparts definition and remove
"#define CONFIG_MTD_DEVICE" to make source code can be copiled correctly
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
c01b869d5b9dc8cff340c9b911d8df9d2aa257dd)
Alice Guo [Fri, 11 Oct 2019 18:22:51 +0000 (02:22 +0800)]
MLK-22580-2: imx8mm-evk: config: add some dependencies and modify
dependency of CMD_NANDBCB`s default value
compiling nandbcb of imx8mm-evk depends on NAND and CMD_MTDPARTS
modify dependency of CMD_NANDBCB`s default value
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
1b14e8cbefdb0f8126ceb6a85b1fd0db142328e6)
Alice Guo [Fri, 11 Oct 2019 14:30:21 +0000 (22:30 +0800)]
MLK-22580-1: nand: mxs_nand: make imx8mm-evk can use hardware BCH and
randomizer
imx8mm-evk needs to BCH encode and set NAND page number needed to be
randomized
modify conditional compilation
Should use CONFIG_IMX8M, it should apply to imx8mq/mm/mn
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
da40cd99e4b3a78d2609ee777d60d651d6dbc313)
Breno Lima [Wed, 28 Aug 2019 22:10:09 +0000 (19:10 -0300)]
MLK-22570-2 doc: habv4: Add encrypted boot documentation for i.MX8M, i.MX8MM and i.MX8MN devices
Add HABv4 encrypted boot documentation for i.MX8M, i.MX8MM and i.MX8MN
family devices covering the following topics:
- How to encrypt and sign a flash.bin image.
- How to manage CAAM PRIBLOBs when using encrypted boot
- Add 4 CSF examples.
Reviewed-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Marius Grigoras <marius.grigoras@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
(cherry picked from commit
eee57255e0b0ea3a2808d3a2c19c8685afbac39b)
Clement Faure [Fri, 30 Aug 2019 14:37:08 +0000 (11:37 -0300)]
MLK-22570-1 mx8mqevk: Add OP-TEE Device Tree Bindings
Currently is not possible to use dek_blob command in
mx8mq:
u-boot=> dek_blob 0x40400000 0x40401000 128
Cannot get OP-TEE device
Add OP-TEE Device Tree Bindings to fix this issue.
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Clement Faure <clement.faure@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
(cherry picked from commit
f762fe218ec60025e2dfd6173efaa826286ba297)
Ye Li [Fri, 11 Oct 2019 04:05:20 +0000 (21:05 -0700)]
MLK-22748 imx8mn: Fix flexspi flash SCLK violation
Current flexspi driver enables the Quad DTR read, so the measured
100Mhz SCLK is actually for DTR mode not SDR. However, according to
MT25QU256ABA datasheet, this flash only supports max DTR at 90Mhz and
max SDR at 166Mhz. It means current clock setting violate the flash
spec. So change back the flexspi clock to align with imx8mm.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
3bf41bae974003550b70ea1a8b44ccb3117d818f)
(cherry picked from commit
4a369b527c3842751a4edf0171562a0e40c331ba)
Ye Li [Tue, 27 Aug 2019 06:39:57 +0000 (23:39 -0700)]
MLK-22749 imx8mq: Add workaround to fix sticky bits lock up
On B1 chips with HAB v4.4, the sticky bits are not locked up in
HAB closed mode. We introduce a workaround in SPL to lock up
these bits and clear Manufacturing Protection Private Key for
secure boot.
For field return case, user has to build a SPL with
CONFIG_SECURE_STICKY_BITS_LOCKUP=n and set CONFIG_IMX_UNIQUE_ID to
part's unique id. When the UID check is passed, sticky bits are not
lockup and users can burn field return fuse. Otherwise the boot will
stop.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
c98b47f1ff60e1f99807e24fd76053ad880f803e)
Breno Lima [Thu, 10 Oct 2019 13:43:02 +0000 (10:43 -0300)]
MLK-22743 mx7ulp: Update unlock and refresh sequences in sWDOG driver
According to i.MX7ULP Reference Manual the second word write for both
UNLOCK and REFRESH operations must occur in maximum 16 bus clock.
The current code is using writel() function which has a DMB barrier to
order the memory access. The DMB between two words write may introduce
some delay in certain circumstance, causing a WDOG timeout due to 16 bus
clock window requirement.
Replace writel() function by __raw_writel() to achieve a faster memory
access and avoid such issue.
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
5dd8c46d68d3267e989f980598a4e3e2ed04d4f9)
Frank Li [Tue, 8 Oct 2019 15:20:55 +0000 (10:20 -0500)]
MLK-22711-2: fastboot: emmc: update bootloader to offset 0 for RevC QXP chip
ROM update emmc offset to 0.
previous B0 is 32K.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
(cherry picked from commit
b642241380227b97f0fa434e3d38dc746adbd9e0)
(cherry picked from commit
2065bf0a12180f73eb918d09dbe809c10077b033)
Frank Li [Tue, 8 Oct 2019 15:18:20 +0000 (10:18 -0500)]
MLK-22711-1 show RevC instead of Rev? at boot log
Add REVC informaiton.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
(cherry picked from commit
c7231f2c7a5c1dc754b5fb9bf05941141877a0ec)
(cherry picked from commit
9a33170a4f4ff2ad2ab0d87e74e722a0e833abaa)
Han Xu [Wed, 9 Oct 2019 15:31:38 +0000 (10:31 -0500)]
MLK-22723-2: nandbcb: fix the issue cannot support gf_14 NAND boot
bchtype in FCB should be associated to the gf_13/14 settings in BCH, fix
the issue and test on Micron 29F64G08CBABB, it can boot after the
change.
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit
9cc7bf9b17565b4e0d73acd690e32394034dfae2)
Han Xu [Wed, 9 Oct 2019 15:30:21 +0000 (10:30 -0500)]
MLK-22723-1: mtd: mxs_nand: fix the gf_13/14 definition issue
gf_13/14 mask was not set correctly in register definition.
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit
b8aed98b2ecfb0def64c474e1ae171930da4c9fc)
Han Xu [Thu, 3 Oct 2019 21:02:43 +0000 (16:02 -0500)]
MLK-22697: configs: fix the imx6ul/ull mtdparts settings
imx6ul/ull were not set the mtdparts properly which causes the uuu cannot recognized the correct mtd partition.
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit
e7bbaadd03df7acbd84e5fbdbce037a369b82d68)
Alice Guo [Mon, 30 Sep 2019 18:22:57 +0000 (02:22 +0800)]
MLK-22579: fix: iMX8MM: fix the compilation error of i.MX8MM caused by MLK-22444
Conditional compilation added in MLK-22444 caused U-Boot compilation
of i.MX8MM error. Delete the wrong conditional compilation.
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
5638f06c300edf87461b822e2c42df2c9ccdd40f)
Ye Li [Fri, 6 Sep 2019 08:21:00 +0000 (01:21 -0700)]
MLK-22622 imx8m: Add Workaround for ROM SError issue
ROM SError happens on two cases:
1. ERR050342, on iMX8MQ HDCP enabled parts ROM writes to GPV1 register, but
when ROM patch lock is fused, this write will cause SError.
2. ERR050350, on iMX8MQ/MM/MN, when the field return fuse is burned, HAB
is field return mode, but the last 4K of ROM is still protected and cause SError.
Since ROM mask SError until ATF unmask it, so then ATF always meets the exception.
This patch works around the issue in SPL by enabling SPL Exception vectors table
and the SError exception, take the exception to eret immediately to clear the SError.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
f05dd45251ca82cc54e13a616f00744c26faab53)
(cherry picked from commit
25d059411e702a4002f1aa157839001f796dd9f6)
Peng Fan [Mon, 15 Apr 2019 05:20:43 +0000 (05:20 +0000)]
imx: add lowlevel init for ARM64
Sometimes we met SERROR, but only to catch it when Linux boots up.
Let's enable catching in U-Boot to catch it ealier and ease debug.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
7a0c9b08886e5dc7d50e640ed56eed0fe612161f)
(cherry picked from commit
33da22c4793e56077033a4f6c567894badb8e907)
(cherry picked from commit
4da3e872b7c61b93fa227935a7b45eb5fcb252e1)
Alice Guo [Mon, 30 Sep 2019 14:16:07 +0000 (22:16 +0800)]
MLK-22574-2: mx7dsabresd: configs: add default mtdids and mtdparts configs
set the i.X7D default mtdids value as "nand0=gpmi-nand", nandbcb can
directly write to the nandboot partition after u-boot brings up
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
820e3bc68f1c8695e6dc9a93be2c7ef27ece929d)
Alice Guo [Mon, 30 Sep 2019 14:14:18 +0000 (22:14 +0800)]
MLK-22574-1: mx7dsabresd: config: remove space from mtdparts definition
there should no extra space in mtdparts definition
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
3e50cae62b1f83635ad835b8da840a7e294b7065)
Igor Opaniuk [Mon, 16 Sep 2019 10:41:21 +0000 (13:41 +0300)]
MLK-22444-5: imx: nandbcb: add support for writing BCB only
Add subcommand for add writing BCB only, where we provide appropriate
offsets for firmware1 and firmware2 and size.
Example of usage:
> nandbcb bcbonly 0x00180000 0x00080000 0x00200000
Writing 1024 bytes to 0x0: randomizing
OK
Writing 1024 bytes to 0x20000: randomizing
OK
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
(cherry picked from commit
353a38576ed6f21431bf499a4b402a5ca571f0fa)
Igor Opaniuk [Mon, 16 Sep 2019 10:41:20 +0000 (13:41 +0300)]
MLK-22444-4: imx: nandbcb: refactor update function
Move code for writing FCB/DBBT pages to a separate function
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
(cherry picked from commit
c4e8b725681c9e7d18845260ac1061aedb9166a4)
Igor Opaniuk [Mon, 16 Sep 2019 10:41:19 +0000 (13:41 +0300)]
MLK-22444-3: imx: nandbcb: add support for i.MX7
Add support for updating FCB/DBBT on i.MX7:
- additional new fields in FCB structure
- Leverage hardware BCH/randomizer for writing FCB
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
b4b3049b1e4a069e522a1112bf4f9e0253836b2d)
Igor Opaniuk [Mon, 16 Sep 2019 10:41:18 +0000 (13:41 +0300)]
MLK-22444-2: nand: mxs_nand: add API for switching different BCH layouts
On i.MX7 in a sake of reducing the disturbances caused by a neighboring
cells in the FCB page in the NAND chip, a randomizer is enabled when
reading the FCB page by ROM bootloader.
Add API for setting BCH to specific layout (and restoring it back) used by
ROM bootloader to be able to burn it in a proper way to NAND using
nandbcb command.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit
eaba02830252ed044e319571a7f3ebed412ae93b)
Igor Opaniuk [Mon, 16 Sep 2019 10:41:17 +0000 (13:41 +0300)]
MLK-22444-1: imx: gpmi: add defines for hw randominizer
Extend GPMI Integrated ECC Control Register Description, include
additional defines for enabling randomizer function and providing
proper randomizer type.
For additional details check i.MX7 APR, section
9.6.6.3 GPMI Integrated ECC Control Register Description
(GPMI_ECCCTRLn)
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
(cherry picked from commit
212ab2205175b9be726ef6c00f523391882a7824)
Sherry Sun [Thu, 26 Sep 2019 14:04:07 +0000 (10:04 -0400)]
MLK-22673: sdp: Change bInterval of interrupt endpoint to 3
Since the USB HID limits the maximum bandwidth(3072) for interrupt
endpoint transfers, when the bInterval set to 1, we can only support 3
boards to run sdp at the same time. In order to support more boards,
change the bInterval of interrupt endpoint to 3, which will not affect
the transmission speed.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
beb0283e6bac3d42cc87757e3c0e200e2ac3b68f)
Sherry Sun [Mon, 9 Sep 2019 21:14:16 +0000 (17:14 -0400)]
MLK-22577-2: usb: cdns3: Change the max packetsize of interrupt endpoint
When use ep1out interrupt endpoint to receive data in sdp, the max
packetsize of ep1out is set to 1024. But in cdns3 gadget driver, the
max packetsize is limited to 512 bytes in high speed. So we can't
implement data download through ep1out of cdns3 driver, here need
change the max packesize of interrupt endpoints to 1024.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
17f321b4a32cfaac52339172dc354729e641451a)
Sherry Sun [Mon, 9 Sep 2019 21:13:40 +0000 (17:13 -0400)]
MLK-22577-1: sdp: Add EP1_OUT as default data receive pipe in sdp
EP0 has been used to transfer file data in sdp before, but the max
packetsize of ep0 is 64 bytes. So in order to improve the file transfer
speed, here add the EP1_OUT interrupt endpoint which max packetsize is
set to 1024 byte.
After testing, it turns out that using ep1out is twice as fast as using
ep0 while receiving data in sdp.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit
22614e317b7fdf4a716f2e5bde876649414ffd6c)
faqiang.zhu [Wed, 18 Sep 2019 06:09:59 +0000 (14:09 +0800)]
MA-15334-2 enable trusty for imx8q standard Android uboot
"CONFIG_IMX_TRUSTY_OS=y" is added to the corresponding defconfig files
to include trusty related code.
MACROs are added in corresponding header files. standard android uboot
has more content than android auto uboot, the uboot malloc pool size is
changed from 76MB to 90MB to make the boot process can be handed over to
kernel without malloc problem.
Change-Id: I5072c20aa28fb1da93e889bb920955d2f1cfbefd
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
faqiang.zhu [Tue, 17 Sep 2019 06:37:07 +0000 (14:37 +0800)]
MA-15334-1 add two defconfig files for trusty supported uboot
add below two defconfig files:
configs/imx8qm_mek_android_trusty_defconfig
configs/imx8qxp_mek_android_trusty_defconfig
they are directly copied from below two files for the ease of tracking
the modifications:
configs/imx8qm_mek_android_defconfig
configs/imx8qxp_mek_android_defconfig
Change-Id: I84ca6ce62698b48bceb651df95ad61cf3e565e99
Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
Ye Li [Wed, 18 Sep 2019 08:56:34 +0000 (01:56 -0700)]
MLK-22654 mx7ulp: Update wdog disable sequence
Update the mx7ulp wdog disable sequence to avoid potential reset issue
in unlock or refresh sequence. Both sequence need two words write
to wdog CNT register in 16 bus clocks window, if miss the window,
the write will cause violation in wdog and reset the chip.
Current u-boot code is using writel() function which has a DMB barrier
to order the memory access. The DMB between two words write may introduce
some delay in certain circumstance, causing the wdog reset due to 16 bus
clock window requirement.
This patch replaces writel() function by __raw_writel() to avoid such issue,
and improve to check if watchdog is already disabled or unlocked.
Signed-off-by: Ye Li <ye.li@nxp.com>
Tested-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
b8c99d5f5bcc5573d3394b68890db16b6bb5fc88)
Jessie Hao [Wed, 18 Sep 2019 08:21:48 +0000 (16:21 +0800)]
MA-15467 Fix imx8mq build break
Disable some unnecessary configs to decrease the spl
size.
Test: build and boot on imx8mq_evk.
Change-Id: I6ad56af21ecf538c9e920581d870cce0d2fec286
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ye Li [Mon, 9 Sep 2019 08:54:47 +0000 (01:54 -0700)]
MLK-22576 imx8: video: Set clock parent for DC0 display channel
When enable u-boot splash screen and set kernel dtb with -hdmi.dtb on
imx8qm, the kernel reboot (partition reboot) will hang in u-boot if HDMI
cable is plugged in.
The root cause is kernel set the clock source of DC0 display0 channel to
bypass clock, when doing reboot this clock setting may not be cleared. So
u-boot has wrong clock source and cause lpcg stop bit always set.
Fix the issue by adding the clock parent setting and not depend on default
parent value.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
104c4b5cdc83fb671c6474708bdd00c2dfb01113)
(cherry picked from commit
8a287c629018e6bf647c3c617fca3e6c94a3d2a4)
Ye Li [Tue, 10 Sep 2019 12:56:24 +0000 (05:56 -0700)]
MLK-22589 imx8: Enable lpcg for some clocks
Have missed the lpcg settings when porting to 2019.04 u-boot
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
4096d7806a0dcc501123c8c2cdf734620e37d169)
Ye Li [Wed, 4 Sep 2019 09:51:15 +0000 (02:51 -0700)]
MLK-22556-5 mtd: nand-spi: Add micron chip MT29F2G01ABBGD
Add the another 2Gb SPI-NAND flash which is 1.8v device and using
different device id.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Ye Li [Mon, 19 Aug 2019 02:36:52 +0000 (19:36 -0700)]
MLK-22556-4 mtd: nand-spi: Add micron chip MT29F4G01
Add 4Gb micron SPI nand chip MT29F4G01 which does not support QUAD IO
and has two dies. Also fix the BBM size to 4 Bytes according to datasheet.
Signed-off-by: Ye Li <ye.li@nxp.com>
Ye Li [Wed, 28 Aug 2019 05:30:39 +0000 (22:30 -0700)]
MLK-22556-3 mtd: nand-spi: Print NAND flash device ID
Current print for unrecognized ID only shows the buffer address not
show its device ID. Add a print to show the ID.
Signed-off-by: Ye Li <ye.li@nxp.com>
Ye Li [Mon, 1 Jul 2019 10:59:11 +0000 (03:59 -0700)]
MLK-22556-2 mtd: nand: Fix NAND core build error
Miss including common.h in two files and cause build error
Signed-off-by: Ye Li <ye.li@nxp.com>
Ye Li [Mon, 1 Jul 2019 10:58:29 +0000 (03:58 -0700)]
MLK-22556-1 spi: flexspi_nand: Add new flexspi nand driver
Add flexspi_nand driver which works on iMX flexspi controller to support
SPI NAND flash. This driver requires DM_SPI and follows SPI-MEM interfaces
to adapt to the SPI NAND framework.
Note: Current implementation limits to the 12-bit column address. This is
popular in main stream SPI NAND and flash devices supported in u-boot.
If device with larger page size (> 4096) needs to support, we have to change
the driver.
Signed-off-by: Ye Li <ye.li@nxp.com>
Peng Fan [Fri, 30 Aug 2019 03:37:31 +0000 (11:37 +0800)]
MLK-22528 imx8: cpu: get reg with new bindings for sid
The dash-linux tree has dropped pd tree, so we could not get the reg.
The power-doamins property has a cell indicating the resource id,
let's use it for sid programming.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Ye Li [Fri, 9 Aug 2019 01:12:31 +0000 (18:12 -0700)]
MLK-22418 imx8: Support new power domain design during updating kernel DTB
Upstream kernel refactors the power domain nodes and the usage of
power-domains property in DTB. So when checking available resources
in AP partition with this kernel DTB, u-boot will reports some
warnings.
This patch will support both two power domain designs during updating
kernel DTB.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Ji Luo [Tue, 27 Aug 2019 07:41:57 +0000 (15:41 +0800)]
MA-15360 Verify vbmeta public key for non-trusty devices
Don't skip vbmeta public key verify for non-trusty
platforms.
Test: boot on imx8mm.
Change-Id: I4712e5dd6e5c8848468e9d85c6b38eb5fb11377f
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Breno Lima [Tue, 27 Aug 2019 13:48:51 +0000 (10:48 -0300)]
MLK-22515 doc: habv4: mx8m: Remove u-boot.bin dependency
The u-boot.bin file is not included in flash.bin binary, remove it
from mx8m_mx8mm_secure_boot.txt guide.
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Breno Lima [Tue, 27 Aug 2019 11:39:15 +0000 (08:39 -0300)]
MLK-22513 doc: ahab: Update OS container image target
Commit
28dd37699022("imx8: Clean up targets") in imx-mkimage project
renamed flash_linux target to flash_kernel.
Update AHAB documentation to align with this change.
Reported-by: Frank Zhang <frank.zhang@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Breno Lima [Mon, 26 Aug 2019 21:05:05 +0000 (18:05 -0300)]
MLK-22505 mx7ulp: Enable UUU support for mx7ulp_evk_m4boot_defconfig target
Currently it's not possible to boot mx7ulp_evk_m4boot_defconfig target:
OBJCOPY examples/standalone/hello_world.bin
LD u-boot
arch/arm/lib/built-in.o: In function `setup_serial_tag':
/home/breno/NXP/bootloader/uboot-imx/arch/arm/lib/bootm.c:192: \
undefined reference to `get_board_serial'
Makefile:1505: recipe for target 'u-boot' failed
make: *** [u-boot] Error 1
Fix this issue by enabling UUU support for mx7ulp_evk_m4boot_defconfig target.
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Ji Luo [Mon, 19 Aug 2019 02:19:09 +0000 (10:19 +0800)]
MA-15321-5 Enable secure unlock
Enable secure unlock for imx8m and imx8q.
Test: build and unlock on closed imx8mm_evk and
imx8qm_mek.
Change-Id: I4c8038ddffdd07084ea41735b90e6a76fd1076dd
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ji Luo [Mon, 19 Aug 2019 01:31:14 +0000 (09:31 +0800)]
MA-15321-4 Duplicate configs to enable secure unlock
Duplicate some configs for imx8m and imx8q.
Test: build.
Change-Id: I2d33685d68187eb831c48528da06684017951232
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ji Luo [Thu, 15 Aug 2019 12:53:53 +0000 (20:53 +0800)]
MA-15321-3 Support secure unlock feature
Decrypt and verify the secure credential in keymaster TA, unlock
operation can only be allowed after secure credential verify pass.
Since the mppubk can only be generated on hab closed imx8q, so secure
unlock feature can only supported when hab is closed.
Test: secure unlock credential verify on hab closed imx8mm_evk.
Change-Id: I1ab5e24df28d1e75ff853de3adf29f34da1d0a71
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ji Luo [Thu, 15 Aug 2019 03:17:00 +0000 (11:17 +0800)]
MA-15321-2 Add command to get serial number
Add commands to support extract serial number from device.
Commands:
$ fastboot oem get-serial-number
$ fastboot get_staged <path-to-serial-number>
Test: serial number upload on imx8mm.
Change-Id: I5c905ab797d4fd28d76c8403914f191eaf2ef687
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Ye Li [Tue, 13 Aug 2019 10:57:56 +0000 (03:57 -0700)]
MLK-22437-2 spi: fsl_qspi: Use driver data for different SOCs
Add the driver data for each compatible string of different SOC. So we
can remove the SOC config and use driver data instead.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Ye Li [Tue, 13 Aug 2019 10:34:57 +0000 (03:34 -0700)]
MLK-22437-1 spi: fsl_qspi: Enable DDR mode on iMX7ULP
On iMX7ULP A0, PCC divider for QSPI has timing issue and it is
only possible to use the divider ratio equal to 1 (PCD=0).
This timing issue causes page program working abnormal if DDR_EN
is set. So current QSPI driver has disabled DDR mode on iMX7ULP
Since iMX7ULP B0 has fixed the issue, so re-enable the DDR mode
for iMX7ULP.
Signed-off-by: Ye Li <ye.li@nxp.com>
Ye Li [Mon, 12 Aug 2019 03:42:27 +0000 (20:42 -0700)]
MLK-22425 TMU: iMX8MN: Enable loading TASR and TCALIV from fuse
Like iMX8MM, iMX8MN also needs SW to load TMU TASR and TCALIV registers
value from fuse before enabling TMU calibration. Otherwise the calibration
is not exact.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit
9fb7f904ff6a03e2951a770daba12a522373c8ae)
Ye Li [Tue, 6 Aug 2019 08:04:55 +0000 (01:04 -0700)]
MLK-22398-10 mx6sabresd: Enable PCIE IMX DM driver
Update the board codes and configs to enable PCIE IMX driver on all
imx6dql sabresd boards.
The always on regulators is powered up in board_init for enabling
"pcie_reg" regulator.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Ye Li [Tue, 6 Aug 2019 07:27:38 +0000 (00:27 -0700)]
MLK-22398-9 DTS: imx6qdl: Update DTS for PCIE
Add pci0 alias and gpr property for pcie node.
Signed-off-by: Ye Li <ye.li@nxp.com>
Ye Li [Tue, 6 Aug 2019 08:02:41 +0000 (01:02 -0700)]
MLK-22398-8 mx6sxsdb: Enable PCIE IMX DM driver
Update the board codes and configs to enable pcie imx DM driver.
The pcie node in SDB board DTS reply on the alway on regulator
"reg_pcie". So power up the always on regulators in board_init.
Signed-off-by: Ye Li <ye.li@nxp.com>