- 04 2月, 2018 30 次提交
-
-
由 Peng Fan 提交于
Add i.MX8M GPIO support. There are 4 GPIO banks on i.MX8M. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Include i.MX8M in lcdif register layout map. Also included i.MX7ULP in this patch, since share same with i.MX8M. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 Peng Fan 提交于
Support i.MX8M in fsl esdhc driver. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 Peng Fan 提交于
i.MX8M OCOTP follow same flow as i.MX6Q, but it has 64 banks and each bank 4 words. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 Peng Fan 提交于
Compile files for i.MX8M Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add SoC level initialization code - arch_cpu_init - mmu table - detect cpu revision - reset cpu and wdog settings - timer init - wdog settings - lowlevel init to save/restore registers - a few dummy header file to avoid build failure - ft_system_setup Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
由 Peng Fan 提交于
The mx7 mmc env code is shared by i.MX8M, so move it to mmc_env.c. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Enable get_boot_device for i.MX8M, it supports boot type USB. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Move get_boot_device to cpu.c to prepare adding i.MX8M support, because i.MX8M share same code with i.MX7. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add i.MX8M support. Because i.MX8M use SiP call trap to Arm Trusted Firmware to handle M4, so use #ifdef to avoid build error on i.MX6/7. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Peng Fan 提交于
Move i.MX6/7 bootaux code to imx_bootaux.c. The i.MX6/7 has different src layout, so define M4 reg offset to ease the cleanup. Redefine the M4 related BIT for share common code. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
-
由 Peng Fan 提交于
Move imx_get_mac_from_fuse to a new mac.c for i.MX6/7. Since fuse regs structure are different for i.MX6/7, use mac address offset in code and define a new local struture imx_mac_fuse. Also sort the config order. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Use more general enum types for speed grade. Refine get_cpu_speed_grade_hz to support i.MX8M. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
The i.MX7 cpu speed/temp code could be reused on i.MX8M, so move them to common cpu code. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add pad settings bit definition for i.MX8M. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add i.MX8MQ SoC Revision Add is_mx8m helper The 7ULP is a dummy number, so use 0xEx. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Implement spl_boot_device for i.MX8M. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Update get_reset_cause to reflect i.MX8M Compile out get_ahb_clk and set_chipselect_size for i.MX8M Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add USB_BOOT entry. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NStefano Babic <sbabic@denx.de> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
-
由 Peng Fan 提交于
Add SiP (Silicon Provider) services function to issue SMC call to Arm Trusted Firmware. More SiP information could be found in https://github.com/ARM-software/arm-trusted-firmware/blob/master/ docs/arm-sip-service.rst Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add clock driver to support i.MX8M. There are two kind PLLs, FRAC pll and SSCG pll. ROM already configured SYS PLL1/2, we only need to configure the output. ocotp/i2c/pll decoding and configuration/usdhc/lcdif/dram pll/ enet clock are configured in the code. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add pin header file for i.MX8M Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add register definition header file for i.MX8M Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Add i.MX8M into Kconfig, create a new folder mx8m dedicated for i.MX8M. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Jagan Teki 提交于
Enable nand on mmc defconfig, so-that preparing nand for writing/updating bootimage, Linux becomes easy. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
由 Jagan Teki 提交于
nand device needed for mmc config to access nand for write and update so enabling SPL_SUPPORT to mmc or nand is wrt to env device rather nand driver check. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
由 Anson Huang 提交于
Add i.MX7 PSCI system power off support, linux kernel can use "poweroff" command to power off system via SNVS, PMIC power will be disabled. Signed-off-by: NAnson Huang <Anson.Huang@nxp.com>
-
由 Anson Huang 提交于
Add i.MX7 PSCI system reset support, linux kernel can use "reboot" command to reset system even wdog driver is disabled in kernel. Signed-off-by: NAnson Huang <Anson.Huang@nxp.com>
-
由 Anson Huang 提交于
Use PSCI 1.0 instead of 0.1 to support more power management feature like system reset, power off etc.. Signed-off-by: NAnson Huang <Anson.Huang@nxp.com>
-
由 Jagan Teki 提交于
i.CoreM6 1.5 is an another i.CoreM6 QDL cpu modules which can be connected to EDIMM starter kit design with eMMC and MIPI-CSI interfaces suitable for Android and video capture application. notable features: CPU NXP i.MX6 S/DL/D/Q, Up to 4 x Cortex-A9@800MHz Memory Up to 2 GB DDR3-1066 Video Interfaces Up to 1 Parallel Up to 2 LVDS HDMI 1.4 port 8 bit CSI INPUT MIPI-CSI INPUT 1 x 10/100 Ethernet interface, 2 x USB, 1 x PCIe, 1 x I2S etc This patch adds support for Quad/Dual and DualLite/Solo SOM's on MIPI starter kit with boot from SD and eMMC. Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
-
- 02 2月, 2018 5 次提交
-
-
由 Lukasz Majewski 提交于
After moving some USB gadget configs (USB_FUNCTIONS_*) to Kconfig it turned out that following *_defconfig entries for RockChip are not needed. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
The CONFIG_USB_FUNCTION_MASS_STORAGE must be selected when one enables support for ums command. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Lukasz Majewski 提交于
This commit moves USB_FUNCTION_MASS_STORAGE config to Kconfig. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Lukasz Majewski 提交于
This commit moves USB_FUNCTION_THOR config to Kconfig. Signed-off-by: NLukasz Majewski <lukma@denx.de> Acked-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
-
由 Lukasz Majewski 提交于
Lets provide alphabetical order for USB_FUNCTION_* entries of USB_GADGET_DOWNLOAD Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
- 01 2月, 2018 5 次提交
-
-
由 Simon Goldschmidt 提交于
For the redundant environment configuration, env_sf_load still contained duplicate code instead of using env_import_redund(). Simplify the code by only executing the load twice and delegating everything else to env_import_redund. Signed-off-by: NSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Simon Goldschmidt 提交于
For multiple env drivers to correctly implement fallback when one environment fails to load (e.g. crc error), the return value of env_import has to be propagated by all env driver's load function. Without this change, the first driver that succeeds to load an environment with an invalid CRC return 0 (success) and no other drivers are checked. Signed-off-by: NSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Simon Goldschmidt 提交于
There is more common code in mmc, nand and ubi env drivers that can be shared by moving to env_import_redund. For this, a status/error value whether the buffers were loaded are passed as additional parameters to env_import_redund. Ideally, these are already returned to the env driver by the storage driver. This is the case for mmc, nand and ubi, so for this change, code deduplicated. Signed-off-by: NSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Simon Goldschmidt 提交于
env_import (and env_import_redund) currently return 1 on success and 0 on error. However, they are only used from functions returning 0 on success or a negative value on error. Let's clean this up by making env_import and env_import_redund return 0 on success and -EIO on error (as was the case for all users before). Users that cared for the return value are also updated. Funny enough, this only affects onenand.c and sf.c Signed-off-by: NSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-
由 Simon Goldschmidt 提交于
env_get_f calls env_get_char to load single characters from the environment. However, the return value of env_get_char was not checked for errors. Now if the env driver does not support the .get_char call, env_get_f did not notice this and looped over the whole size of the environment, calling env_get_char over 8000 times with the default settings, just to return an error in the end. Fix this by checking if env_get_char returns < 0. Signed-off-by: NSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
-