Merge tag 'fsl-qoriq-for-v2019.01-rc2' of git://git.denx.de/u-boot-fsl-qoriqAdd TFA boot flow for some Layerscape platformsAdd support for lx2160a SoC[trini: Add a bunch of missing MAINTAINERS e
Merge tag 'fsl-qoriq-for-v2019.01-rc2' of git://git.denx.de/u-boot-fsl-qoriqAdd TFA boot flow for some Layerscape platformsAdd support for lx2160a SoC[trini: Add a bunch of missing MAINTAINERS entries]Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
armv8: ls1043aqds: Add TFABOOT supportTFABOOT support includes: - ls1043aqds_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - define BOOTCOMMAN
armv8: ls1043aqds: Add TFABOOT supportTFABOOT support includes: - ls1043aqds_tfa_defconfig to be loaded by trusted firmware - environment address and size changes for TFABOOT - define BOOTCOMMAND for TFABOOTSigned-off-by: Pankit Garg <pankit.garg@nxp.com>Signed-off-by: Vinitha V Pillai <vinitha.pillai@nxp.com>Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
armv8: ls1043a: add icid setup supportReuse the existing ICID setup code done for LS1046A smmu enablementand add the equivalent setup for LS1043A chips.Signed-off-by: Laurentiu Tudor <laurentiu.
armv8: ls1043a: add icid setup supportReuse the existing ICID setup code done for LS1046A smmu enablementand add the equivalent setup for LS1043A chips.Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
board: Kconfig: Re-Arrangement of PPA firmware and header addressesPPA firmware and header address may vary depending upon differentboards, configure ppa firmware and header address in board speci
board: Kconfig: Re-Arrangement of PPA firmware and header addressesPPA firmware and header address may vary depending upon differentboards, configure ppa firmware and header address in board specificKconfig.Signed-off-by: Vinitha V Pillai <vinitha.pillai@nxp.com>Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
MAINTAINERS: Switch nxp.com domainfreescale.com domain is no longer reachable, so switch themaintainers' emails to nxp.com domain instead.Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt headers from/us
libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>Thomas reported U-Boot failed to build host tools if libfdt-develpackage is installed because tools include libfdt headers from/usr/include/ instead of using internal ones.This commit moves the header code: include/libfdt.h -> include/linux/libfdt.h include/libfdt_env.h -> include/linux/libfdt_env.hand replaces include directives: #include <libfdt.h> -> #include <linux/libfdt.h> #include <libfdt_env.h> -> #include <linux/libfdt_env.h>Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
armv8: ls1043/ls1046aqds: add support for RGMII_TXIDSigned-off-by: Madalin Bucur <madalin.bucur@nxp.com>Acked-by: Joe Hershberger <joe.hershberger@ni.com>Acked-by: York Sun <york.sun@nxp.com>
common: freescale: Move arch-specific declarationsThe declarations should not be in common.h. Move them to the arch-specificheaders.Signed-off-by: Simon Glass <sjg@chromium.org>[trini: Fixup th
common: freescale: Move arch-specific declarationsThe declarations should not be in common.h. Move them to the arch-specificheaders.Signed-off-by: Simon Glass <sjg@chromium.org>[trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)]Signed-off-by: Tom Rini <trini@konsulko.com>
armv8: layerscape: Fix DDR size calcuation for SPL buildCommit 088454cd dropped return value from initram(), settinggd->ram_size directly. Three boards were missed for SPL boot.Signed-off-by: Yo
armv8: layerscape: Fix DDR size calcuation for SPL buildCommit 088454cd dropped return value from initram(), settinggd->ram_size directly. Three boards were missed for SPL boot.Signed-off-by: York Sun <york.sun@nxp.com>
armv8: ls1043aqds: Integrate FSL PPAThe PPA is a EL3 firmware, which support PSCI, hotplug,power-management features etc.Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>Reviewed-by: York Sun
armv8: ls1043aqds: Integrate FSL PPAThe PPA is a EL3 firmware, which support PSCI, hotplug,power-management features etc.Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
armv8: ls1043ardb: SPL size reductionUsing changes in this patch we were able to reduce approx 10ksize of u-boot-spl.bin image. Following is breif description ofchanges to reduce SPL size:1. Cha
armv8: ls1043ardb: SPL size reductionUsing changes in this patch we were able to reduce approx 10ksize of u-boot-spl.bin image. Following is breif description ofchanges to reduce SPL size:1. Changes in board/freescale/ls1043ardb/Makefile to remove compilation of eth.c and cpld.c in case of SPL build.2. Changes in board/freescale/ls1043ardb/ls1043ardb.c to keep only ddr_init and board_early_init_f funcations in case of SPL build.3. Changes in ls1043a_common.h & ls1043ardb.h to remove driver specific macros due to which static data was being compiled in case of SPL build.4. Disable MMC driver from bieng compiled in case of SPL NAND build and NAND driver from bieng compiled in case of SPL MMC build.5. Remove I2C driver support from SPL in case of LS1043ARDB.Signed-off-by: Vinitha Pillai <vinitha.pillai@nxp.com>Signed-off-by: Sumit Garg <sumit.garg@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
arm: freescale: Rename initdram() to fsl_initdram()This function name shadows a global name but is in fact different. Thisis very confusing. Rename it to help with the following refactoring.Sign
arm: freescale: Rename initdram() to fsl_initdram()This function name shadows a global name but is in fact different. Thisis very confusing. Rename it to help with the following refactoring.Signed-off-by: Simon Glass <sjg@chromium.org>
board_f: Drop return value from initdram()At present we cannot use this function as an init sequence call without awrapper, since it returns the RAM size. Adjust it to set the RAM size inglobal_d
board_f: Drop return value from initdram()At present we cannot use this function as an init sequence call without awrapper, since it returns the RAM size. Adjust it to set the RAM size inglobal_data instead, and return 0 on success.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Stefan Roese <sr@denx.de>
board_f: Drop board_type parameter from initdram()It looks like only cm5200 and tqm8xx use this feature, so we don't reallyneed it in generic code. Drop it and have the users access gd->board_type
board_f: Drop board_type parameter from initdram()It looks like only cm5200 and tqm8xx use this feature, so we don't reallyneed it in generic code. Drop it and have the users access gd->board_typedirectly.Signed-off-by: Simon Glass <sjg@chromium.org>Reviewed-by: Stefan Roese <sr@denx.de>
armv8: layerscape: Update early MMU for DDR after initializationIn early MMU table, DDR has to be mapped as device memory to avoidspeculative access. After DDR is initialized, it needs to be updat
armv8: layerscape: Update early MMU for DDR after initializationIn early MMU table, DDR has to be mapped as device memory to avoidspeculative access. After DDR is initialized, it needs to be updatedto normal memory to allow code execution. To simplify the code,dram_init() is moved into a common file as a weak function.Signed-off-by: York Sun <york.sun@nxp.com>
armv8: layerscape: Rewrite memory reservationFor ARMv8 Layerscape SoCs, secure memory and MC memorey are reservedat the end of DDR. DDR is spit into two or three banks. This patchreverts commit a
armv8: layerscape: Rewrite memory reservationFor ARMv8 Layerscape SoCs, secure memory and MC memorey are reservedat the end of DDR. DDR is spit into two or three banks. This patchreverts commit aabd7ddb and simplifies the calculation of reservedmemory, and moves the code into common SoC file. Secure memory iscarved out first. DDR bank size is reduced. Reserved memory is thenallocated on the top of available memory. U-Boot still has accessto reserved memory as data transferring is needed. Device tree isfixed with reduced memory size to hide the reserved memory from OS.The same region is reserved for efi_loader.Signed-off-by: York Sun <york.sun@nxp.com>
NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUSTIntroduce board/freescale/common/Kconfig so that we have a single placefor CONFIG options that are shared between ARM and Po
NXP: Introduce board/freescale/common/Kconfig and migrate CHAIN_OF_TRUSTIntroduce board/freescale/common/Kconfig so that we have a single placefor CONFIG options that are shared between ARM and PowerPC NXP platforms.Cc: York Sun <york.sun@nxp.com>Signed-off-by: Tom Rini <trini@konsulko.com>Reviewed-by: York Sun <york.sun@nxp.com>
fsl/board/ddr: optimize board-specific cpo for erratum A-009942Optimize board-specific cpo for erratum A-009942 on b4860qds,ls1043aqds, ls1043ardb, ls1046aqds, ls1046ardb, ls2080ardb,t102xqds, t1
fsl/board/ddr: optimize board-specific cpo for erratum A-009942Optimize board-specific cpo for erratum A-009942 on b4860qds,ls1043aqds, ls1043ardb, ls1046aqds, ls1046ardb, ls2080ardb,t102xqds, t102xrdb, t1040qds, t104xrdb, t208xqds, t208xrdb,t4qds, t4rdb boards.Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
fsl-layerscape: Add workaround for PCIe erratum A010315As the access to serders protocol unselected PCIe controller willhang. So disable the R/W permission to unselected PCIe controllerincluding
fsl-layerscape: Add workaround for PCIe erratum A010315As the access to serders protocol unselected PCIe controller willhang. So disable the R/W permission to unselected PCIe controllerincluding its CCSR, IO space and memory space according to theserders protocol field of RCW.Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
arm: fsl-layerscape: move forward the non-secure access permission setupMove forward the basic non-secure access enable operation, so thesubsequent individual device access permission can override
arm: fsl-layerscape: move forward the non-secure access permission setupMove forward the basic non-secure access enable operation, so thesubsequent individual device access permission can override it.And collect the dispersed callers in board level, and then movethem to SoC level.Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
armv8: ls1043aqds: add IFC fixup in case QSPI is enabledQSPI and IFC are pin-multiplexed on LS1043AQDS board. If QSPI isenabled, IFC would not be initialized correctly. So disable the IFCnode for
armv8: ls1043aqds: add IFC fixup in case QSPI is enabledQSPI and IFC are pin-multiplexed on LS1043AQDS board. If QSPI isenabled, IFC would not be initialized correctly. So disable the IFCnode for Linux.Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
armv8: ls1043aqds: Update MAINTAINERSAdd ls1043aqds_lpuart_defconfig to file list.Signed-off-by: York Sun <york.sun@nxp.com>
armv8: Move secure_ram variable out of generic global dataSecure_ram variable was put in generic global data. But only ARMv8uses this variable. Move it to ARM specific data structure.Signed-off-
armv8: Move secure_ram variable out of generic global dataSecure_ram variable was put in generic global data. But only ARMv8uses this variable. Move it to ARM specific data structure.Signed-off-by: York Sun <york.sun@nxp.com>
armv8: ls1043aqds: use configurable clockGet the clocks from FPGA through I2C, if IFC is disabled.Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
12