summaryrefslogtreecommitdiffstats
path: root/board/freescale
Commit message (Collapse)AuthorAgeFilesLines
* mpc83xx: Get rid of CONFIG_SYS_LBC_*Mario Six2019-05-212-11/+21
| | | | | | | | | | | | | | | | Except for one counter example, CONFIG_SYS_LBC_LBCR always has a value of either 0x00040000 or 0x00000000. CONFIG_SYS_LBC_MRTPR always has the value 0x20000000. CONFIG_SYS_LBC_LSDMR_{1,2,4,5} are not set for any mpc83xx board. CONFIG_SYS_LBC_LSRT is set by one board (to 0x32000000). To simplify the configuration files, hardcode the setting of these values for mpc83xx. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASEMario Six2019-05-217-17/+17
| | | | | | | | CONFIG_SYS_DDR_SDRAM_BASE is set to the same value as CONFIG_SYS_SDRAM_BASE on all existing boards. Just use CONFIG_SYS_SDRAM_BASE instead. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Get rid of CONFIG_SYS_DDR_BASEMario Six2019-05-214-4/+4
| | | | | | | CONFIG_SYS_DDR_BASE is specific to mpc83xx an is always set to the same value as CONFIG_SYS_SDRAM_BASE. Just use CONFIG_SYS_SDRAM_BASE instead. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Migrate CONFIG_SYS_{BR, OR}*_PRELIM to KconfigMario Six2019-05-211-0/+1
| | | | | | | | | | | Migrate the BR/OR settings to Kconfig. These must be known at compile time, so cannot be configured via DT. Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Kconfig: Migrate HRCW to KconfigMario Six2019-05-214-0/+5
| | | | | | | | | | | | | The HRCW (hardware reset configuration word) is a constant that must be hard-coded into the boot loader image. So, it must be available at compile time, and cannot be migrated to the DT mechanism, but has to be kept in Kconfig. Configuration of this crucial variable should still be somewhat comfortable. Hence, make its fields configurable in Kconfig, and assemble the final value from these. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Get rid of CONFIG_83XX_CLKINMario Six2019-05-212-0/+2
| | | | | | | | | | | | | MPC83xx uses CONFIG_83XX_CLKIN instead of CONFIG_SYS_CLK_FREQ to set the system clock. To migrate the architecture, we can replace CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ. To do this * replace all occurrences of CONFIG_83XX_CLKIN with CONFIG_SYS_CLK_FREQ * set CONFIG_SYS_CLK_FREQ to the old value of CONFIG_83XX_CLKIN in all MPC83xx config files Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Migrate legacy PCI options to KconfigMario Six2019-05-211-6/+6
| | | | | | | | The MPC83xx include files contain some settings of the PCI subsystem. Migrate these to Kconfig until a proper DM PCI driver exists. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITXMario Six2019-05-211-1/+1
| | | | | | | Use the proper CONFIG_TARGET_MPC8349ITX Kconfig option to replace the CONFIG_MPC8349ITX ad-hoc config option. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* MPC832XEMDS: Migrate to CONFIG_TARGET_MPC832XEMDSMario Six2019-05-211-3/+3
| | | | | | | Use the proper CONFIG_TARGET_MPC832XEMDS Kconfig option to replace the CONFIG_MPC832XEMDS ad-hoc config option. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Make distinct MPC8349EMDS_SDRAM boardMario Six2019-05-212-0/+14
| | | | | | | | | The MPC8349EMDS config file contains config options to enable SDRAM support. To keep this ability after the Kconfig migration, create a new MPC8349EMDS_SDRAM board that enables the SDRAM support and remove the SDRAM support from the original board. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* mpc83xx: Make distinct MPC8313ERDB targetsMario Six2019-05-201-2/+15
| | | | | | | | | MPC8313ERDB has the option of either enabling NOR or NAND boot in its config file (by commenting out certain #ifdefs). To keep this ability after migrating options to Kconfig, we introduce two MPC8313ERDB configs: one for NOR, and one for NAND. Signed-off-by: Mario Six <mario.six@gdsys.cc>
* imx8qxp_mek: drop warning due to unused variableStefano Babic2019-04-251-1/+0
| | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
* imx: support i.MX8QM MEK boardPeng Fan2019-04-257-0/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add i.MX8QM MEK board support. Included a basic dts, enabled SPL FIT Boot log as below: U-Boot SPL 2019.01-rc1-00029-gf002213219 (Dec 24 2018 - 10:28:30 +0800) Normal Boot Trying to boot from MMC2_2 U-Boot 2019.01-rc1-00029-gf002213219 (Dec 24 2018 - 10:28:30 +0800) CPU: NXP i.MX8QM RevB A53 at 142933 MHz Model: Freescale i.MX8QM MEK Board: iMX8QM MEK Build: SCFW 9330215b Boot: SD1 DRAM: 6 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 Net: Error: ethernet@5b040000 address not set. eth-1: ethernet@5b040000 Hit any key to stop autoboot: 0 Signed-off-by: Peng Fan <peng.fan@nxp.com>
* imx8qxp: mek: enable dm-spl for pmPeng Fan2019-04-251-15/+0
| | | | | | | | | with u-boot,dm-spl added for imx8qx-pm node, and SPL_SIMPLE_BUS enabled, the bind and probe code in board file could be removed. Also we need to enlarge SYS_MALLOC_F_LEN to avoid calloc fail. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* Add missing space in commentMarcel Ziswiler2019-04-131-1/+1
| | | | | | | Spotted two missing spaces in comments. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
* imx8mq_evk: README: Make the underline marker fill the whole sentenceFabio Estevam2019-04-021-5/+5
| | | | | | | Let the underline marker "=" fill the whole sentence for better readability. Signed-off-by: Fabio Estevam <festevam@gmail.com>
* imx8mq_evk: README: Fix a typo in the destination pathFabio Estevam2019-04-021-1/+1
| | | | | | | The DDR firmware binaries should be copied to '$(srctree)', so fix a typo. Signed-off-by: Fabio Estevam <festevam@gmail.com>
* imx8mq_evk: README: Need to copy bl31.bin to U-Boot source treeFabio Estevam2019-04-021-1/+2
| | | | | | | | | After building ATF it is needed to copy the generated bl31.bin file to the U-Boot source tree. Make this step explicit in the instructions. Signed-off-by: Fabio Estevam <festevam@gmail.com>
* armv7: ls102xa: Add workaround for DDR erratum A-008850Alison Wang2019-03-155-30/+9
| | | | | | | | | | Barrier transactions from CCI400 need to be disabled till the DDR is configured, otherwise it may lead to system hang. The patch adds workaround to fix the erratum. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Signed-off-by: Alison Wang <alison.wang@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* board: fsl: lx2160aqds: modify the phy fixup codePankaj Bansal2019-03-151-7/+31
| | | | | | | | | | | | Now that we are representing the MDIO mux in LX2160AQDS board in producer/consumer terms, the consumer nodes' has been changed. Therefore, modify the device tree fixups according to change in device tree. Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* imx8mq_evk: Add myself as a co-maintainerFabio Estevam2019-03-131-0/+1
| | | | | | | I would like to help maintaining this board. Signed-off-by: Fabio Estevam <festevam@gmail.com> Acked-by: Peng Fan <peng.fan@nxp.com>
* mx6sabreauto: README: Adjust the binary name after DM conversionFabio Estevam2019-03-131-6/+6
| | | | | | | | After the conversion to DM the U-Boot binary is called u-boot-dtb.imx, so fix the README file accordingly. Signed-off-by: Fabio Estevam <festevam@gmail.com> Acked-by: Peng Fan <peng.fan@nxp.com>
* mx6sabresd: README: Adjust the binary name after DM conversionFabio Estevam2019-03-131-9/+9
| | | | | | | | After the conversion to DM the U-Boot binary is called u-boot-dtb.imx, so fix the README file accordingly. Signed-off-by: Fabio Estevam <festevam@gmail.com> Acked-by: Peng Fan <peng.fan@nxp.com>
* imx8mq_evk/README: fix DDR training firmware pathBaruch Siach2019-03-131-1/+1
| | | | | | | | | Remove a redundant directory level. Reported-by: Ofer Heifetz <ofer.heifetz@valens.com> Tested-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* imx8mq_evk/README: add missing firmware extract stepBaruch Siach2019-03-131-0/+1
| | | | | | Tested-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* mx6ul_14x14_evk: Simplify the PMIC register writesFabio Estevam2019-03-131-6/+3
| | | | | | | | There is no need to store the values written to the PMIC inside the 'reg' variable. Make it simpler by writing the values directly. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* Merge git://git.denx.de/u-boot-fsl-qoriqTom Rini2019-03-041-5/+7
|\ | | | | | | | | | | | | - Enable DHCP as boot-source in distro boot for NXP layerscape platforms - fix register layout for SEC on Layerscape architectures - fixes related to DPAA2 ethernet
| * board: ls1088a: fix fsl-mc search pathMian Yousaf Kaukab2019-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Path for fsl-mc node in kernel device-tree is /soc/fsl-mc whereas in u-boot it is /fsl-mc. Fix the incorrect search path to fix following error: fdt_fixup_board_enet: ERROR: fsl-mc node not found in device tree (error -1) Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
| * board: ls1088a: fix dppa exit when using efi bootMian Yousaf Kaukab2019-03-031-4/+6
| | | | | | | | | | | | | | | | | | Same issue for ls2080a was fixed by following patch: b7b8410a8f ls2080: Exit dpaa only right before exiting U-Boot Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Reviewed-by: Ashish Kumar <Ashish.Kumar@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* | powerpc: t104xrdb: Add support of MTA9ADF1G72AZ DDRPeng Ma2019-03-021-0/+1
|/ | | | | | | | | T1040RDB has been upgraded to support new DDR ie. MTA9ADF1G72AZ-3G2, 8GB. So adding support of new DDR part by updating board_specific_parameters udimm0. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* lx2160aqds : Add support for LX2160AQDS platformPankaj Bansal2019-02-196-1/+1233
| | | | | | | | | | | | LX2160AQDS is a development board that supports LX2160A family SoCs. This patch add base support for this board. Signed-off-by: Wasim Khan <wasim.khan@nxp.com> Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com> [PK: Sqaush patch for "secure boot defconfig" & add maintainer] Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* board/lx2160a: Add init_func_vid() definitionPriyanka Jain2019-02-191-1/+8
| | | | | | | | | Add init_func_vid() which calls adjust_vdd() This ensures adjust_vdd() is called via init_sequence_f[] Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* armv8: lx2160: Add secure boot target and enable distro boot.Udit Agarwal2019-02-191-0/+5
| | | | | | | | | | | | Adds esbc validate command for verification of MC and DPC firmware, along with secure boot defconfig. Also enable distro boot. Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com> Signed-off-by: Peng Ma <peng.ma@nxp.com> [PK: squash "enable DM support for SATA patch" & add maintainer] Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* lx2160: Enable support of EMC2305Meenakshi Aggarwal2019-02-191-0/+11
| | | | | | | | | | Enable support for FAN controller EMC2305 for LX2160A RDB board. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> [PK: enable EMC2305 for lx2160rdb] Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* armv8: emc2305: add support for fan controllerMeenakshi Aggarwal2019-02-193-0/+66
| | | | | | | | Add support for fan controller emc2305. Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* armv8: lx2160ardb : Add support for LX2160ARDB platformPriyanka Jain2019-02-198-0/+625
| | | | | | | | | | | | | | | | | | | | LX2160ARDB is an evaluation board that supports LX2160A family SoCs. This patch add base support for this board. Signed-off-by: Wasim Khan <wasim.khan@nxp.com> Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com> Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com> Signed-off-by: Sriram Dash <sriram.dash@nxp.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: Pankit Garg <pankit.garg@nxp.com> Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Signed-off-by: Peng Ma <peng.ma@nxp.com> Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> [PK: Sqaush patches from Yinbo Zhu, Peng Ma, Chuanhua Han and re-arrange defconfig] Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* board: mx6sabresd: Remove the enet reset gpio handlingAbel Vesa2019-02-151-7/+0
| | | | | | | | Rely on the phy-reset-gpios which is set in imx6qdl-sabresd dtsi and get rid of the enet reset gpio handling from the board file. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
* board: mx6sabresd: Remove non-DM codeAbel Vesa2019-02-151-50/+0
| | | | | | | | Since the mx6sabreauto has DM support, remove the unused non-DM code from mx6sabresd board file. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
* board: mx6sabreauto: Remove the non-DM codeAbel Vesa2019-02-151-70/+0
| | | | | | | | Since the mx6sabreauto has DM support, remove the unused non-DM code from mx6sabreauto board file. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
* mx6sabreauto: Add DM_GPIO supportAbel Vesa2019-02-151-0/+3
| | | | | | | | | Add the DM_GPIO related config for mx6sabreauto. Also add the gpio request calls. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
* mx6sabresd: Add DM_GPIO supportAbel Vesa2019-02-151-0/+5
| | | | | | | | | Add the DM_GPIO related config for mx6sabresd. Also add the gpio request calls. Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com>
* board: mx6sabreauto: Add board_fit_config_name_match to support FIT in SPLAbel Vesa2019-02-151-0/+18
| | | | | | | | | | | | This matches one of the following three boards (or fails): - imx6q-sabreauto - imx6qp-sabreauto - imx6dl-sabreauto Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* board: mx6sabresd: Add board_fit_config_name_match to support FIT in SPLAbel Vesa2019-02-151-0/+18
| | | | | | | | | | | | This matches one of the following three boards (or fails): - imx6q-sabresd - imx6qp-sabresd - imx6dl-sabresd Signed-off-by: Abel Vesa <abel.vesa@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
* MAINTAINERS: Change fsl-qoriq, mpc85xx, mpc86xx maintainersYork Sun2019-02-0511-11/+12
| | | | | | | | | Change maintainers to Prabhakar Kushwaha for fsl-qoriq, mpc85xx and mpc86xx. Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
* imx8mq_evk/README: remove ARCH environment variableBaruch Siach2019-01-281-1/+0
| | | | | | | There is no need to set the ARCH variable when building U-Boot. In fact, the ARCH name in U-Boot is 'arm'. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
* imx8qxp: mek: update READMEPeng Fan2019-01-281-3/+5
| | | | | | Update README after we switch to use SPL Signed-off-by: Peng Fan <peng.fan@nxp.com>
* imx8qxp: mek: default enable SPLPeng Fan2019-01-283-3/+77
| | | | | | | | | | | | Enable SPL for i.MX8QXP MEK, and currently use SPL FIT. The SPL enable SPL_DM to use MMC/PINCTRL/POWER DOMAIN/CLK. Note: SPL FIT could not support secure boot chain, because i.MX8/8X only support i.MX container format. This container format has not been upstreamed, so we use FIT for now. When SPL container supported, we could switch to that. Signed-off-by: Peng Fan <peng.fan@nxp.com>
* armv8: ls2088ardb: Update MAINTAINERSYork Sun2019-01-171-0/+1
| | | | | Signed-off-by: York Sun <york.sun@nxp.com> CC: Rajesh Bhagat <rajesh.bhagat@nxp.com>
* armv8: ls1088ardb: Update MAINTAINERSYork Sun2019-01-171-0/+1
| | | | | Signed-off-by: York Sun <york.sun@nxp.com> CC: Rajesh Bhagat <rajesh.bhagat@nxp.com>
* ls1046aqds: Bypass xfi port fixup for KR modeFlorinel Iordache2019-01-171-10/+25
| | | | | | | | | | | | u-boot makes a fixup for LS1046AQDS board to setup the properties 'fixed-link' and 'phy-connection-type' to 'xgmii' but in case of backplane mode this fixup is not correct because it causes the KR link to fail and so it must be bypassed in order to keep the link in KR mode as it is defined in DTS. Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com> [YS: Fix compiling warning] Reviewed-by: York Sun <york.sun@nxp.com>