* Add thermal driver support for imx7 SoC
read_cpu_temperature is SoC dependent
* Redefine config macro to support imx7 and imx6 SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Rework patch so it can be applyed on top
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET
In u-boot, we have to:
- Configure PFD3- PFD7 for freq we needed in u-boot
- Set clock root for peripherals (ip channel)
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37
* Add timer support for imx7d SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
arch/arm/imx-common/timer.c | 9 -
1 file changed, 8 insertions(+), 1 deletion
-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
- Include arch/arm/Kconfig target config option
Changes for V3:
- Update target board maintainer contact info
Changes for V4: depends on patchs
- mmc: fsl_esdhc invalidate dcache before read
- imx: usb: ehci-mx6: add usb support
* Ocotp of i.MX7D has different operation rule.
This patch is to add support for i.MX7D ocotp.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
Changes
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
arch/arm/imx-common/syscounter.c | 126
* Add SoC system support, Misc arch dependent functions for
system bring up:
s_init: system init enable clock base settings
enable_caches: configures Cortex-A7 L2 caches
get_boot_device: identifies boot device
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng
* Add imx-common cpu support for imx7d SoC
* Update reset_cause for imx7d
* Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
arch
-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
arch/arm/cpu/armv7/mx7/Makefile | 9 ++
arch/arm/cpu/armv7/mx7/hab.c| 277
arch/arm
* Add mxc_gpio support for imx7d SoC
* Use CONFIG_MX7 to extend mxc gpio driver support for imx7d
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
arch/arm/include/asm/arch
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be
used in power_init_board callback function.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Correct pfuze device name to pfuze3000; Freescale documentation
Extend ehci-mx6 usb driver to support imx7d usb
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
drivers/usb/host/Makefile | 1 +
drivers/usb/host/ehci-mx6.c | 125
2 files changed, 92 insertions(+), 34 deletions(-)
diff --git a/drivers/usb
chain settings
for iomuxc-lpsr pads.
* Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3
driver for these LPSR pins.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Fugang Duan b38...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2
Document target board specific functions
board_ehci_hcd_init - override usb phy mode
board_ehci_hcd_init - set usb vbus voltage
board_ehci_power - enables/disables usb vbus voltage
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
Split from patch imx: usb: ehci-mx6: add usb
Extend ehci-mx6 usb driver to support imx7d usb
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d
drivers/usb/host/Makefile | 1 +
drivers/usb/host/ehci-mx6.c | 99
Cleanup read/write register access, use clr/set bits_le32
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc
drivers/usb/host/ehci-mx6.c | 51 -
1 file changed, 18
-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
- Include arch/arm/Kconfig target config option
Changes for V3:
- Update target board maintainer contact info
Changes for V4: depends on patchs
- mmc: fsl_esdhc invalidate dcache before read
- imx: usb: ehci-mx6: add usb support
* Add imx-common cpu support for imx7d SoC
* Update reset_cause for imx7d
* Enable watchdog driver built for imx7d
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
Changes for V5: Resend
arch/arm/imx-common/syscounter.c
* Add mxc_gpio support for imx7d SoC
* Use CONFIG_MX7 to extend mxc gpio driver support for imx7d
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
Changes for V5: Resend
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET
In u-boot, we have to:
- Configure PFD3- PFD7 for freq we needed in u-boot
- Set clock root for peripherals (ip channel)
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37
* Add SoC system support, Misc arch dependent functions for
system bring up:
s_init: system init enable clock base settings
enable_caches: configures Cortex-A7 L2 caches
get_boot_device: identifies boot device
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng
-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
Changes for V5: Add complete list of Signed-off's
* Add timer support for imx7d SoC
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be
used in power_init_board callback function.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Correct pfuze device name to pfuze3000; Freescale documentation
chain settings
for iomuxc-lpsr pads.
* Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3
driver for these LPSR pins.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Fugang Duan b38...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2
* Add thermal driver support for imx7 SoC
read_cpu_temperature is SoC dependent
* Redefine config macro to support imx7 and imx6 SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Rework patch so it can be applyed on top
* Ocotp of i.MX7D has different operation rule.
This patch is to add support for i.MX7D ocotp.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
Changes
Add wait_for_bit to check reg bit status and replace unbounded
loops to check usb command status
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Patch depends on the following patch set:
imx: usb: ehci-mx6: add usb support for imx7d soc
imx: usb: ehci-mx6: document board specific functions
Cleanup read/write register access, use clr/set bits_le32
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc
Changes for V3: Resend
drivers/usb/host/ehci-mx6.c | 51
Document target board specific functions
board_ehci_hcd_init - override usb phy mode
board_ehci_hcd_init - set usb vbus voltage
board_ehci_power - enables/disables usb vbus voltage
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
Split from patch imx: usb: ehci-mx6: add
Extend ehci-mx6 usb driver to support imx7d usb
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d
Changes for V3:
Fix identation for usbnc_regs struct
drivers/usb/host/Makefile | 1 +
drivers/usb
-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
- Include arch/arm/Kconfig target config option
Changes for V3:
- Update target board maintainer contact info
arch/arm/Kconfig | 7 +
board/freescale/mx7dsabresd/Kconfig | 15 +
board/freescale
* Add imx-common cpu support for imx7d SoC
* Update reset_cause for imx7d
* Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
arch/arm/Makefile
* Add timer support for imx7d SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
arch/arm/imx-common/timer.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch
-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
arch/arm/cpu/armv7/mx7/Makefile | 9 ++
arch/arm/cpu/armv7/mx7/hab.c| 277
arch/arm/include/asm/arch-mx7/hab.h
chain settings
for iomuxc-lpsr pads.
* Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3
driver for these LPSR pins.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Fugang Duan b38...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2
* Add support for usb driver for i.MX7D SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2: Resend
Changes for V3:
- Integrate review obserbations
- Add comments for fucntions
the stale data.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Nitin Garg nitin.g...@freescale.com
Signed-off-by: Jason Liu r64...@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Resend
Changes for V3
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be
used in power_init_board callback function.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Correct pfuze device name to pfuze3000; Freescale documentation
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET
In u-boot, we have to:
- Configure PFD3- PFD7 for freq we needed in u-boot
- Set clock root for peripherals (ip channel)
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37
* Add thermal driver support for imx7 SoC
read_cpu_temperature is SoC dependent
* Redefine config macro to support imx7 and imx6 SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Rework patch so it can be applyed on top
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/imx-common/syscounter.c | 126 +++
arch
* Add SoC system support, Misc arch dependent functions for
system bring up:
s_init: system init enable clock base settings
enable_caches: configures Cortex-A7 L2 caches
get_boot_device: identifies boot device
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng
* Add mxc_gpio support for imx7d SoC
* Use CONFIG_MX7 to extend mxc gpio driver support for imx7d
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/include/asm/arch-mx7/gpio.h | 12
* Ocotp of i.MX7D has different operation rule.
This patch is to add support for i.MX7D ocotp.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
Changes for V3: Resend
drivers
Add support for usb driver for i.MX7D SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2: Resend
Changes for V3:
- Integrate review obserbations
- Add comments for fucntions
= *address ~mask;
* Add set_dcd_param_v2 helper function to set DCD
command parameters
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2
- Add set_dcd_param_v2 helper function to set DCD command tag
and parameters
tools
* Add thermal driver support for imx7 SoC
read_cpu_temperature is SoC dependent
* Redefine config macro to support imx7 and imx6 SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
arch/arm/imx-common/cpu.c | 10 ++--
drivers
* Ocotp of i.MX7D has different operation rule.
This patch is to add support for i.MX7D ocotp.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
drivers/misc/mxc_ocotp.c | 74
* Add support for usb driver for i.MX7D SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
drivers/usb/host/Makefile | 1 +
drivers/usb/host/ehci-mx7.c | 103
* Add mxc_gpio support for imx7d SoC
* Use CONFIG_MX7 to extend mxc gpio driver support for imx7d
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
drivers/gpio/mxc_gpio.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff
-by: Adrian Alonso aalo...@freescale.com
---
board/freescale/mx7dsabresd/Kconfig | 15 +
board/freescale/mx7dsabresd/Makefile | 6 +
board/freescale/mx7dsabresd/imximage.cfg | 110 +
board/freescale/mx7dsabresd/mx7dsabresd.c | 656 ++
configs
* Add imx7d support for iomux controller
* Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3
driver for these LPSR pins.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Fugang Duan b38...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
arch/arm/imx
* Add pmic pfuze300 support for imx7 and iMX6 DL/SL/SX SoC's
* Implement power_pfuze300_init to be used in power_init_board
callback function.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
drivers/power/pmic/Makefile| 1
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
arch/arm/imx-common/syscounter.c | 126 +++
arch/arm/include/asm/imx-common/syscounter.h | 29
= *address ~mask;
* Add set_dcd_param_v2 helper function to set DCD
command parameters
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2
- Add set_dcd_param_v2 helper function to set DCD command tag
and parameters
Changes for V3
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be
used in power_init_board callback function.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Correct pfuze device name to pfuze3000; Freescale documentation
* Add support for usb driver for i.MX7D SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2: Resend
drivers/usb/host/Makefile | 1 +
drivers/usb/host/ehci-mx7.c | 103
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET
In u-boot, we have to:
- Configure PFD3- PFD7 for freq we needed in u-boot
- Set clock root for peripherals (ip channel)
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37
-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2:
- Include arch/arm/Kconfig target config option
arch/arm/Kconfig | 7 +
board/freescale/mx7dsabresd/Kconfig | 15 +
board/freescale/mx7dsabresd/MAINTAINERS | 6 +
board/freescale/mx7dsabresd
* Add SoC system support, Misc arch dependent functions for
system bring up:
s_init: system init enable clock base settings
enable_caches: configures Cortex-A7 L2 caches
get_boot_device: identifies boot device
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng
* Add imx-common cpu support for imx7d SoC
* Update reset_cause for imx7d
* Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
arch/arm/Makefile| 4 ++--
arch/arm/cpu
* Add timer support for imx7d SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
arch/arm/imx-common/timer.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/imx-common/timer.c b
-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
arch/arm/cpu/armv7/mx7/Makefile | 9 ++
arch/arm/cpu/armv7/mx7/hab.c| 277
arch/arm/include/asm/arch-mx7/hab.h | 69 +
3 files
* Add thermal driver support for imx7 SoC
read_cpu_temperature is SoC dependent
* Redefine config macro to support imx7 and imx6 SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
Changes for V2:
- Rework patch so it can be applyed on top
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
arch/arm/imx-common/syscounter.c | 126 +++
arch/arm/include/asm/imx
* Ocotp of i.MX7D has different operation rule.
This patch is to add support for i.MX7D ocotp.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2: Resend
drivers/misc/mxc_ocotp.c | 74
* Add mxc_gpio support for imx7d SoC
* Use CONFIG_MX7 to extend mxc gpio driver support for imx7d
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Resend
arch/arm/include/asm/arch-mx7/gpio.h | 12
drivers/gpio
the stale data.
Signed-off-by: Peng Fan peng@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
Signed-off-by: Nitin Garg nitin.g...@freescale.com
Signed-off-by: Jason Liu r64...@freescale.com
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Resend
drivers/mmc
chain settings
for iomuxc-lpsr pads.
* Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3
driver for these LPSR pins.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Fugang Duan b38...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes for V2
- Rework imx_thermal driver to be used across i.MX
processor that support thermal sensors
- Make read_cpu_temperature SoC dependent
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Peng Fan peng@freescale.com
---
arch/arm/cpu/armv7/mx6/soc.c | 86
Add secure boot fuse details (location) bank = 0, word = 6;
for imx6 SoC platforms.
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V3: New patch in series
arch/arm/cpu/armv7/mx6/soc.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx6
Rework unified section macro select via Kconfig option
instead of macro definition in mx7_common header file.
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V3: New patch in series
arch/arm/cpu/armv7/mx7/Kconfig | 2 ++
include/configs/mx7_common.h | 1 -
2 files c
Add secure boot fuse helper struct to abstract the way
to find out secure boot settings per SoC iMX family
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V3: New patch in series
arch/arm/include/asm/imx-common/hab.h | 9 +
1 file changed, 9 insertions(+)
cache flush
mx7 SoC ROM code does not have this issue as ROM enables cache support
based on fuse settings.
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2:
- Split from original patch to track mx7 change set
hab: rework support for imx6/imx7
Changes for V3:
- Add helper
Add secure boot support for mx7dsabresd target board
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Resend
Changes for V3: Resend
board/freescale/mx7dsabresd/imximage.cfg | 7 +++
include/configs/mx7dsabresd.h| 4
2 files changed, 11 inse
Move common chip revision id's to main cpu header file
mx25 generic include cpu header for chip revision
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Chages for V2: Resend
Chages for V3: Resend
arch/arm/cpu/arm926ejs/mx25/generic.c | 1 +
arch/arm/include/asm/arch-imx
Rework secure boot support for imx6, move existing hab support
for imx6 into imx-common for SoC reuse.
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Split patch
- Move existing hab mx6 into common location
- Update include hab header location
Changes for V3:
Add secure boot fuse details (location) bank = 1, word = 3;
for imx7 SoC platforms.
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V3: New patch in series
arch/arm/cpu/armv7/mx7/soc.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx7
Use read_fuse api fuction call to read secure boot fuse
settings (enabled/disabled).
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V3: New patch in series
arch/arm/imx-common/hab.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git
Add CONFIG_ROM_UNIFIED_SECTIONS for mx6sx and mx6ul target
platforms to resolve corresponding HAB_RVT_BASE base address,
the RVT table contains pointers to the HAB API functions in
ROM code.
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: New patch in series
C
Move common imx6 arch init setup, init.c can be extended
and reused to support imx7 SoC keeping init arch common
code.
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Changes for V2: Move back mx6 ldo related to functions into soc.c
Apply patch on top of:
arm: imx: common rework cache
Add system counter driver for imx7d and mx6ul
imx7 and imx6ul supports system counter timer as well as
GPT timer (arch/arm/imx-common/timer.c); The default for
imx7 is systemcounter timer.
Signed-off-by: Adrian Alonso aalo...@freescale.com
Signed-off-by: Ye.Li b37...@freescale.com
---
Changes
Move common imx6 arch init setup, init.c can be extended
and reused to support imx7 SoC keeping init arch common
code.
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
Apply patch on top of:
arm: imx: common rework cache settings for imx6
arch/arm/cpu/armv7/mx6/soc.c | 274
Rework cache settings for imx6, move cache configuration
to imx-common/cache.c so it can be reused for newer SoC
Signed-off-by: Adrian Alonso aalo...@freescale.com
---
arch/arm/cpu/armv7/mx6/soc.c | 95 ---
arch/arm/imx-common/Makefile | 1 +
arch/arm/imx
.@freescale.com>
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2:
- Include arch/arm/Kconfig target config option
Changes for V3:
- Update target board maintainer contact info
Changes for V4: depends on patchs
- mmc: fsl_esdhc invalidate dcache before read
- imx
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET
In u-boot, we have to:
- Configure PFD3- PFD7 for freq we needed in u-boot
- Set clock root for peripherals (ip channel)
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
Signed-off-by: Peng Fan <peng@freescale.com>
Signed-o
.@freescale.com>
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2:
- Include arch/arm/Kconfig target config option
Changes for V3:
- Update target board maintainer contact info
Changes for V4: depends on patchs
- mmc: fsl_esdhc invalidate dcache before read
- imx
Add imx-common cpu support for imx7d SoC
- Update reset_cause for imx7d
- Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
Signed-off-by: Peng Fan <peng@freescale.com>
---
Changes for V2: Split patch to easier review process
- Add
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2:
Rework for common sys_proto header file
Changes for V3: Resend
arch/arm/cpu/armv7/mx6/soc.c| 14 --
arch/arm/imx-common/
Add imx7 SoC thermal driver support
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Fix build error for missin macro check ;P
Changes for V3: Resend
Changes for V4: Resend
drivers/thermal/imx_thermal.c | 90 ---
1 file chang
Add imx7d basic SoC system support
Misc arch dependent functions for system bring up
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
Signed-off-by: Peng Fan <peng@freescale.com>
Signed-off-by: Ye.Li <b37...@freescale.com>
---
Changes for V2: Split from patch imx: i
Move common imx6 arch init setup, init.c can be extended
and reused to support imx7 SoC keeping init arch common
code.
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/cpu/armv7/mx6/soc.c
Add helper macro is_soc_type to identify iMX SoC family
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Rework for common sys_proto header file
Changes for V3: Rework for latest master
arch/arm/include/asm/arch-imx/cpu.h | 2 ++
arch/arm/include/asm/imx-
Add system counter driver for imx7d and mx6ul
imx7 and imx6ul supports system counter timer as well as
GPT timer (arch/arm/imx-common/timer.c); The default for
imx7 is systemcounter timer.
Signed-off-by: Ye.Li <b37...@freescale.com>
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
Extend init_aips to support imx7 SoC, use is_soc_type
and is_cpu_type to resolve at run time aips3 settings
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/imx-common/init.c | 44
Rework imx_thermal driver to be used across i.MX
processor that support thermal sensor
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
Signed-off-by: Peng Fan <peng@freescale.com>
---
Changes for V2:
Rename read_cpu_temperature to read_cpu_temperature_mx6 use is_so
Rework cache settings for imx6, move cache configuration
to imx-common/cache.c so it can be reused for newer SoC
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/cpu/armv7/mx6/soc.c
Add helper macro is_soc_type to identify iMX SoC family
Signed-off-by: Adrian Alonso <aalo...@freescale.com>
---
Changes for V2: Rework for common sys_proto header file
arch/arm/include/asm/arch-imx/cpu.h | 2 ++
arch/arm/include/asm/imx-common/sys_proto.h | 3 +++
2 files chan
1 - 100 of 130 matches
Mail list logo