aboutsummaryrefslogtreecommitdiffstats
path: root/board/freescale
Commit message (Collapse)AuthorAgeFilesLines
...
* imx8ulp_evk: Change to use DDR driverYe Li2023-03-292-208/+1
| | | | | | | Remove the DDR initialization codes from board and enable the iMX8ULP DDR driver. Signed-off-by: Ye Li <ye.li@nxp.com>
* imx8ulp_evk: Update the DDR timingJacky Bai2023-03-291-102/+102
| | | | | | | | Update the dram timing to support PLL bypass mode for F1. Signed-off-by: Jacky Bai <ping.bai@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
* imx: imx8ulp: Configure XRDC PDAC and MSC for DBD owner=S400 onlyYe Li2023-03-291-3/+5
| | | | | | | | | | | | | This patch is used to support DBD owner fuse changed to S400 only. The XRDC PDAC2 for LPAV pbridge5 and MSC1/2/3 for GPIO and LPAV are not configured by S400 default setting. So these PDAC and MSC are invalid, only DBD owner can access the corresponding resources. We have to configure necessary PDAC and MSC for SPL before DDR initialization. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* imx: imx8ulp: Adjust handshake to sync TRDC and XRDC completionYe Li2023-03-291-7/+1
| | | | | | | | | | | | | | | | | | To fit the DBD_EN fused part, we re-design the TRDC and XRDC assignment. M33 will be the TRDC owner and needs to configure TRDC. A35 is the XRDC owner, ATF will configure XRDC. The handshake between U-boot and M33 image is used to sync TRDC and XRDC configuration completion. Once the handshake is done, A35 and M33 can access the allowed resources in others domain. The handshake is needed when M33 is booted or DBD_EN fused, because both cases will enable the TRDC. If handshake is timeout, the boot will hang. We use SIM GPR0 to pass the info from SPL to u-boot, because before the handshake, u-boot can't access SEC SIM and FSB. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Jacky Bai <ping.bai@nxp.com>
* imx: imx8ulp: Get chip revision from SentinelYe Li2023-03-291-7/+3
| | | | | | | | | In both SPL and u-boot, after probing the S400 MU, get the chip revision, lifecycle and UID from Sentinel. Update get_cpu_rev to use the chip revision not hard coded it for A0 Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* Merge branch 'master' into nextTom Rini2023-03-273-20/+4
|\
| * board: m5253demo: remove floating point flash size calculationAngelo Dureghello2023-03-151-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This board is using floating point arithmetic to display the SST39VF6401B flash size. This actually generates errors with toolchains without appropriate sw fp math functions available. SST39VF6401B is the only flash for wich the size is displayed, it's size is 8192KB and floating point calculation seems not needed. Removing it. Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
| * m68k: rename CONFIG_MCFTMR to CFG_MCFTMRAngelo Dureghello2023-03-152-2/+2
| | | | | | | | | | | | This is not a Kconfig option so changing to _CFG. Signed-off-by: Angelo Durgehello <angelo@kernel-space.org>
* | board: freescale: ls1088a: remove code under !CONFIG_DM_ETHIoana Ciornei2023-03-143-830/+4
| | | | | | | | | | | | | | | | Now that DM_ETH is enabled by default, there is no point in keeping the non-DM_ETH code which initialized the ethernet interfaces. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | board: freescale: ls2080aqds: remove code under !CONFIG_DM_ETHIoana Ciornei2023-03-142-979/+4
| | | | | | | | | | | | | | | | Now that DM_ETH is enabled by default, there is no point in keeping the non-DM_ETH code which initialized the ethernet interfaces. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | board: freescale: ls2080rdb: remove code under !CONFIG_DM_ETHIoana Ciornei2023-03-142-96/+1
| | | | | | | | | | | | | | | | Now that DM_ETH is enabled by default, there is no point in keeping the non-DM_ETH code which initialized the ethernet interfaces. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | board: freescale: lx2160a: remove code under !CONFIG_DM_ETHIoana Ciornei2023-03-144-1699/+8
| | | | | | | | | | | | | | | | Now that DM_ETH is enabled by default, there is no point in keeping the non-DM_ETH code which initialized the ethernet interfaces. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | board: freescale: lx2160a: remove hardcoded ethernet initializationIoana Ciornei2023-03-141-144/+0
|/ | | | | | | | | | | The LX2160ARDB board has support for DM_ETH probed devices, which means that we do not need to manually create an MDIO controller, register it, create PHYs on it etc. In order to cleanup the board file a bit, just remove this code entirely. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
* Correct SPL uses of FEC_MXCSimon Glass2023-02-102-2/+2
| | | | | | | This converts 4 usages of this option to the non-SPL form, since there is no SPL_FEC_MXC defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
* Correct SPL uses of TARGET_LX2160ARDBSimon Glass2023-02-101-3/+3
| | | | | | | This converts 3 usages of this option to the non-SPL form, since there is no SPL_TARGET_LX2160ARDB defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
* Correct SPL uses of DWC_ETH_QOSSimon Glass2023-02-092-2/+2
| | | | | | | This converts 3 usages of this option to the non-SPL form, since there is no SPL_DWC_ETH_QOS defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
* freescale: Drop unused zm7300 driverSimon Glass2023-02-073-254/+0
| | | | | | This is not used anymore. Drop the driver and Kconfig option. Signed-off-by: Simon Glass <sjg@chromium.org>
* freescale: Drop unused vsc3316_3308 driverSimon Glass2023-02-072-531/+0
| | | | | | This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass <sjg@chromium.org>
* imx: Drop CONFIG_USE_PLUGINSimon Glass2023-02-071-4/+0
| | | | | | This option is not defined anywhere. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* freescale: Drop CONFIG_TARGET_MPC8536DS et alSimon Glass2023-02-071-3/+0
| | | | | | | This option as well as CONFIG_TARGET_P1022DS and CONFIG_TARGET_P5020DS are not defined anywhere. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
* freescale: Drop unused pq-mds-pib driverSimon Glass2023-02-073-70/+0
| | | | | | This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass <sjg@chromium.org>
* ppc: Drop unused CONFIG_P2020DSSimon Glass2023-02-071-1/+0
| | | | | | This option does not exist, so the Makefile rule does nothing. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
* freescale: Drop unused pixis codeSimon Glass2023-02-073-525/+0
| | | | | | Drop this unused code. Signed-off-by: Simon Glass <sjg@chromium.org>
* Merge tag 'fsl-qoriq-2023-2-1' of ↵Tom Rini2023-02-011-1/+1
|\ | | | | | | | | | | | | | | https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq make QSPI clock selection optional during SoC init for ls102xa Fix regulator name for ls2_sfp Update NXP RCW github repo
| * ls1021atsn: Suggest the NXP RCW github repoFabio Estevam2023-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As explained in the text at the bottom of the page https://source.codeaurora.org/external/qoriq/qoriq-components/rcw: "QUIC repositories on this site will not receive any updates after March 31, 2022, and will be deleted on March 31, 2023." Point to the NXP RCW github repo instead. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | imx: Suggest the NXP ATF github repoFabio Estevam2023-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As explained in the text at the bottom of the page https://source.codeaurora.org/external/imx/imx-atf: "QUIC repositories on this site will not receive any updates after March 31, 2022, and will be deleted on March 31, 2023." Point to the NXP ATF github repo instead. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Oliver Graute <oliver.graute@kococonnector.com> Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
* | imx: mx6sxsabreauto: select DM_SERIALPeng Fan2023-01-311-16/+0
| | | | | | | | | | | | Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | imx: mx6sllevk: select DM_SERIALPeng Fan2023-01-311-16/+0
| | | | | | | | | | | | Select DM_SERIAL Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | imx: mx6sllevk: correct pmic namePeng Fan2023-01-311-1/+1
| | | | | | | | | | | | The prefix 0 has been dropped in dts, so correct in board file Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | imx: mx6ull/z_14x14_evk: clean up UART iomuxPeng Fan2023-01-311-16/+0
| | | | | | | | | | | | | | After DM_SERIAL, and set pinctrl_uart1 as pre-reloc, no need initialize iomux at board file. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* | ARM: imx: Remove PMIC reset configuration from board filesMarek Vasut2023-01-304-12/+0
|/ | | | | | | | | | | | | | | | The PCA9450 reset configuration can now be performed by the PCA9450 PMIC driver itself, remove the hard-coded variant from board code and let the PMIC driver perform this task using one-liner: ``` $ sed -i '/set WDOG_B_CFG to cold reset/,+2 d' $(git grep -l PCA9450_RESET_CTRL.*0xA1 board/) ``` Venice and i.MX93 EVK required slight manual fix up. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* global: Finish CONFIG -> CFG migrationTom Rini2023-01-2013-41/+41
| | | | | | | | | | | | | At this point, the remaining places where we have a symbol that is defined as CONFIG_... are in fairly odd locations. While as much dead code has been removed as possible, some of these locations are simply less obvious at first. In other cases, this code is used, but was defined in such a way as to have been missed by earlier checks. Perform a rename of all such remaining symbols to be CFG_... rather than CONFIG_... Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
* kbuild: Remove uncmd_spl logicTom Rini2022-12-232-2/+2
| | | | | | | | | | | | At this point in the conversion there should be no need to have logic to disable some symbol during the SPL build as all symbols should have an SPL counterpart. The main real changes done here are that we now must make proper use of CONFIG_IS_ENABLED(DM_SERIAL) rather than many of the odd tricks we developed prior to CONFIG_IS_ENABLED() being available. Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_VSC7385_IMAGE et al to CFGTom Rini2022-12-232-4/+4
| | | | | | | | Perform simple renames of: CONFIG_VSC7385_IMAGE to CFG_VSC7385_IMAGE CONFIG_VSC7385_IMAGE_SIZE to CFG_VSC7385_IMAGE_SIZE Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_SLIC to CFGTom Rini2022-12-231-1/+1
| | | | | | Perform a simple rename of CONFIG_SLIC to CFG_SLIC Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_RESET_VECTOR_ADDRESS to CFGTom Rini2022-12-235-5/+5
| | | | | | Perform a simple rename of CONFIG_RESET_VECTOR_ADDRESS to CFG_RESET_VECTOR_ADDRESS Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_ICS307_REFCLK_HZ to CFGTom Rini2022-12-231-2/+2
| | | | | | Perform a simple rename of CONFIG_ICS307_REFCLK_HZ to CFG_ICS307_REFCLK_HZ Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_FSL_SERDES2 to CFGTom Rini2022-12-231-3/+3
| | | | | | Perform a simple rename of CONFIG_FSL_SERDES2 to CFG_FSL_SERDES2 Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_FSL_SERDES1 to CFGTom Rini2022-12-231-2/+2
| | | | | | Perform a simple rename of CONFIG_FSL_SERDES1 to CFG_FSL_SERDES1 Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_FSL_PMIC_BUS to CFGTom Rini2022-12-231-1/+1
| | | | | | Perform a simple rename of CONFIG_FSL_PMIC_BUS to CFG_FSL_PMIC_BUS Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_FEC_MXC_PHYADDR to CFGTom Rini2022-12-231-1/+1
| | | | | | Perform a simple rename of CONFIG_FEC_MXC_PHYADDR to CFG_FEC_MXC_PHYADDR Signed-off-by: Tom Rini <trini@konsulko.com>
* global: Migrate CONFIG_FEC_ENET_DEV to CFGTom Rini2022-12-232-2/+2
| | | | | | Perform a simple rename of CONFIG_FEC_ENET_DEV to CFG_FEC_ENET_DEV Signed-off-by: Tom Rini <trini@konsulko.com>
* T104xRDB: Remove non-TARGET_T1042D4RDB variantsTom Rini2022-12-224-41/+3
| | | | | | | At this point only the TARGET_T1042D4RDB variant of this is supported in tree, so remove the remaining parts of the other platforms. Signed-off-by: Tom Rini <trini@konsulko.com>
* nxp: Rename CONFIG_U_BOOT_HDR_SIZE to FSL_U_BOOT_HDR_SIZETom Rini2022-12-221-1/+1
| | | | | | | | | This is always defined to 16K, so we move this over to include/fsl_validate.h to start with. Next, we rename this from CONFIG_ to FSL_. Coalesce the various comments around this definition to be in fsl_validate.h as well to explain the usage. Signed-off-by: Tom Rini <trini@konsulko.com>
* net: vsc9953: Remove this driverTom Rini2022-12-221-46/+0
| | | | | | | No platforms enable this driver as there's no T1040D4RDB nor T1040RDB support at this time. Remove. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_FLASH_SPANSION_S29WS_N et al to KconfigTom Rini2022-12-221-9/+9
| | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_FLASH_SPANSION_S29WS_N CONFIG_FLASH_VERIFY CONFIG_FSL_FM_10GEC_REGULAR_NOTATION CONFIG_FSL_ISBC_KEY_EXT CONFIG_FSL_TRUST_ARCH_v1 CONFIG_FSL_SDHC_V2_3 CONFIG_MAX_DSP_CPUS CONFIG_MIU_2BIT_INTERLEAVED CONFIG_SERIAL_BOOT CONFIG_SPI_BOOTING CONFIG_X86EMU_RAW_IO Signed-off-by: Tom Rini <trini@konsulko.com>
* net: tsec: Remove non-DM_ETH support codeTom Rini2022-12-074-248/+0
| | | | | | | | | As DM_ETH is required for all network drivers, it's now safe to remove the non-DM_ETH support code. Doing this removes some board support code which was also unused. Finally, this removes some CONFIG symbols that otherwise needed to be migrated to Kconfig, but were unused in code now. Signed-off-by: Tom Rini <trini@konsulko.com>
* mpc8548cds: Migrate CONFIG_INTERRUPTS to KconfigTom Rini2022-12-051-0/+3
| | | | | | | Only this platform sets this option, define it in the board Kconfig file. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_POWER_LTC3676 et al to KconfigTom Rini2022-12-051-0/+2
| | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_POWER_FSL CONFIG_POWER_FSL_MC13892 CONFIG_POWER_HI6553 CONFIG_POWER_LTC3676 CONFIG_POWER_PFUZE100 CONFIG_POWER_PFUZE3000 CONFIG_POWER_SPI CONFIG_POWER_TPS65090_EC CONFIG_POWER_TPS65218 CONFIG_POWER_TPS65910 Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_FSL_CADMUS to KconfigTom Rini2022-12-051-0/+3
| | | | | | | This converts the following to Kconfig: CONFIG_FSL_CADMUS Signed-off-by: Tom Rini <trini@konsulko.com>