summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'mpc85xx-for-v2018.11-rc1' of git://git.denx.de/u-boot-mpc85xxTom Rini2018-09-2925-11/+335
|\ | | | | | | Use device tree for mpc85xx with binman. Enabled for T2080QDS.
| * powerpc: dts: Enable device tree support for T2080QDSJagdish Gediya2018-09-279-4/+148
| | | | | | | | | | | | | | | | | | | | | | | | Add device tree for T2080QDS board and enable CONFIG_OF_CONTROL so that device tree can be compiled. Update board README for device tree usage. Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
| * powerpc: dts: Add u-boot.dtsi to use binman for MPC85xx boardsJagdish Gediya2018-09-271-0/+32
| | | | | | | | | | | | | | Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc85xx: Use binman to embed dtb inside U-BootJagdish Gediya2018-09-272-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Below is the sequence to embed dtb inside U-Boot, 1. Remove bootpg and resetvec section if needed 2. Append dtb 3. Append bootpg and resetvec section back if removed in step 1 Above procedure is required only when CONFIG_MPC85xx and CONFIG_OF_SEPARATE are defined. Add new config CONFIG_MPC85XX_HAVE_RESET_VECTOR to indicate that image has resetvec section. Step 1 and step 3 described above are required only if this config is y. Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
| * powerpc: mpc85xx: Select BINMAN by defaultJagdish Gediya2018-09-271-0/+1
| | | | | | | | | | | | | | Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
| * binman: Add support for PowerPC mpc85xx 'bootpg + resetvec' entryJagdish Gediya2018-09-274-1/+62
| | | | | | | | | | | | | | | | | | | | This entry contains the PowerPC mpc85xx boot page and resetvec sections. Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * binman: Add a new "skip-at-start" property in Section classJagdish Gediya2018-09-274-4/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently binman calculates '_skip_at_start' based on 'end-at-4gb' property and it is used for x86 images. For PowerPC mpc85xx based CPU, CONFIG_SYS_TEXT_BASE is the entry offset of the first entry. It can be 0xeff40000 or 0xfff40000 for nor flash boot, 0x201000 for sd boot etc, so "_skip_at_start" should be set to CONFIG_SYS_TEXT_BASE. 'end-at-4gb' property is not applicable where CONFIG_SYS_TEXT_BASE + Image size != 4gb. Add new property 'skip-at-start' in Section class so that '_skip_at_start' can be calculated either based on 'end-at-4gb' or based on "skip-at-start". Add a test case to check that 'skip-at-start' and 'end-at-4gb' property can't be used together. Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
| * powerpc/dts: Makefile changes to clean and build dtsJagdish Gediya2018-09-272-1/+13
| | | | | | | | | | | | | | Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: York Sun <york.sun@nxp.com>
| * powerpc/dts: Define '_end' symbol in mpc85xx U-Boot lds filesJagdish Gediya2018-09-274-0/+4
| | | | | | | | | | | | | | | | | | | | 'board_fdt_blob_setup' function sets up fdt blob at '&_end' so define '_end' symbol in mpc85xx lds files. Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
* | Merge tag 'fsl-qoriq-for-v2018.11-rc1' of git://git.denx.de/u-boot-fsl-qoriqTom Rini2018-09-29101-136/+417
|\ \ | | | | | | | | | | | | | | | | | | | | | Switch to driver model for eSDHC on Layerscape SoCs including LS1021A, LS1043A, LS1046A, LS1088A, LS2088A. Switch to driver model for SATA on LS1021A and LS1043A. Add support for LS1012AFRWY rev C board. Enable SMMU for LS1043A.
| * | armv7: ls102xa: Disable QE before enter deep sleepRan Wang2018-09-272-0/+6
| | | | | | | | | | | | | | | | | | | | | Otherwise system will hang after executing wfi. Signed-off-by: Ran Wang <ran.wang_1@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | drivers: qe: Move CONFIG_U_QE to KconfigRan Wang2018-09-279-13/+14
| | | | | | | | | | | | | | | | | | Signed-off-by: Ran Wang <ran.wang_1@nxp.com> [York S: revised subject line and removed commit message] Reviewed-by: York Sun <york.sun@nxp.com>
| * | net: fman: Support both new and legacy FMan CompatiblesZhao Qiang2018-09-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently the FMan Port and MAC compatibles were changed. This patch aligns the FMan Port and MAC compatibles to the new FMan device tree binding document. The FMan device tree binding document can be found in the Linux kernel version 3.18.0, commit 297d35fd2a7d3fbd4e5c0f0c1c18213117ba11ba ./Documentation/devicetree/bindings/powerpc/fsl/fman.txt This patch doesn't affect legacy compatibles support. Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com> [York S: reformatted commit message] Reviewed-by: York Sun <york.sun@nxp.com>
| * | ls2080ardb: remove dhcp function from env as boot sourcePriyanka Jain2018-09-271-2/+1
| | | | | | | | | | | | | | | Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | ls1088a: remove dhcp function from u-boot env as boot sourcePramod Kumar2018-09-271-2/+1
| | | | | | | | | | | | | | | Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | ls1012a: remove debug info from u-boot logPramod Kumar2018-09-271-1/+0
| | | | | | | | | | | | | | | Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls1043a: enable icid setup for qman portalsLaurentiu Tudor2018-09-271-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | Enable support for ICID setup of qman portals and the required device tree fixups. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls1043a: add icid setup supportLaurentiu Tudor2018-09-276-1/+102
| | | | | | | | | | | | | | | | | | | | | | | | Reuse the existing ICID setup code done for LS1046A smmu enablement and add the equivalent setup for LS1043A chips. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls1043a: advertise QMan v3 in configurationLaurentiu Tudor2018-09-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The QMan IP block in this SoC is version 3.2 so advertise this in the SoC configuration header. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: fsl-layerscape: add missing qe base address defineLaurentiu Tudor2018-09-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add define for QUICC Engine register block base address. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> [York S: revised commit message] Reviewed-by: York Sun <york.sun@nxp.com>
| * | driver: net: fsl-mc: Memset MC reserve ram memory before usagePrabhakar Kushwaha2018-09-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Memory reserved for Management Complex needs to be cleaned before any usage. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> [York S: revised commit message] Reviewed-by: York Sun <york.sun@nxp.com>
| * | u-boot: fixup the iommu-map property of fsl-mc nodeNipun Gupta2018-09-277-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | The iommu-map property in the fsl-mc node is updated by valid stream-ids by u-boot. This patch is to fixup this property for LS208x and LS1088. Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | ls1012afrwy: Add ls1012afrwy revC board support.Pramod Kumar2018-09-272-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LS1012AFRWY supports three board revisions. Revision A and B board are collectively identified as revA/B, Revision C board is identifies as revC. Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com> [York S: revised commit message] Reviewed-by: York Sun <york.sun@nxp.com>
| * | scsi: ceva: add ls1021a soc support.Peng Ma2018-09-271-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | Add ahci compatible support for ls1021a soc. Signed-off-by: Peng Ma <peng.ma@nxp.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | arm: ls1021atwr: enable DM support for sataPeng Ma2018-09-271-0/+5
| | | | | | | | | | | | | | | | | | | | | Enable related configs to support sata DM feature. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv7: dts: fsl-ls1021a: add sata node support enable sata for ls1021a-qds ↵Peng Ma2018-09-273-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | and ls1021a-twr Add sata node to support this feature. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv7: fsl: remove sata supportPeng Ma2018-09-277-92/+0
| | | | | | | | | | | | | | | | | | | | | Remove the old implementation in order to enable DM for sata Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | arm64: ls1043aqds: enable DM support for sataPeng Ma2018-09-271-0/+5
| | | | | | | | | | | | | | | | | | | | | Enable related configs to support sata DM feature. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | scsi: ceva: add ls1043a soc supportPeng Ma2018-09-271-0/+3
| | | | | | | | | | | | | | | | | | | | | Add ahci compatible support for ls1043a soc. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: dts: fsl-ls1043a: add sata node supportPeng Ma2018-09-272-0/+12
| | | | | | | | | | | | | | | | | | | | | Add sata node to support ls1043a. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | Enable CONFIG_BLK and CONFIG_DM_MMC to KconfigYinbo Zhu2018-09-2749-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | This enables the folowing to Kconfig: CONFIG_BLK CONFIG_DM_MMC Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv7: ls1021a: enable esdhcYinbo Zhu2018-09-271-1/+0
| | | | | | | | | | | | | | | | | | | | | This patch is to enable eSDHC for ls1021a. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls1046a: add eSDHC nodeYinbo Zhu2018-09-271-0/+8
| | | | | | | | | | | | | | | | | | | | | This patch is to add eSDHC node for ls1046a. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls1043a: add eSDHC nodeYinbo Zhu2018-09-271-0/+8
| | | | | | | | | | | | | | | | | | | | | This patch is to add eSDHC node for ls1043a. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls1088a: add eSDHC nodeYinbo Zhu2018-09-271-0/+9
| | | | | | | | | | | | | | | | | | | | | This patch is to add eSDHC node for ls1088a. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8: ls2088a: add eSDHC nodeYinbo Zhu2018-09-271-0/+8
| | | | | | | | | | | | | | | | | | | | | This patch is to add eSDHC node for ls2088a. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | armv8/ls1088a/ls2088a: esdhc: Add esdhc clock supportYinbo Zhu2018-09-271-0/+14
| | | | | | | | | | | | | | | | | | | | | This patch adds esdhc clock support for ls1088a and ls2088a. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
| * | ppa/fm/qe: use block layer in ppa/fm/qe driverYinbo Zhu2018-09-273-6/+5
| |/ | | | | | | | | | | | | | | | | | | | | At present the MMC subsystem maintains its own list of MMC devices. This cannot work with driver model when CONFIG_BLK is enabled, use blk_dread to replace previous mmc read interface, use mmc_get_blk_desc to get the mmc device property. Signed-off-by: Yinbo Zhu <yinbo.zhu@nxp.com> [York S: reformatted commit message] Reviewed-by: York Sun <york.sun@nxp.com>
* | Convert CONFIG_DISABLE_CONSOLE to KconfigChristian Gmeiner2018-09-292-1/+5
| | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_DISABLE_CONSOLE Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* | ARM: da850evm_direct_nor_defconfig: Enable DM_SERIALAdam Ford2018-09-293-4/+5
| | | | | | | | | | | | | | | | With DM enabled, this patch enables DM_SERIAL and removes the NS16550 initialization from da850_lowlevel since the driver will take care of that itself. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: omap3_logic: Remove non-DM MMC initializationAdam Ford2018-09-291-7/+0
| | | | | | | | | | | | | | With DM_MMC working for both SPL and U-Boot, this patch removes the legacy style of initializing the MMC driver. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: omap3_logic: Remove some manual pin-muxingAdam Ford2018-09-291-127/+0
| | | | | | | | | | | | | | | | | | With the pinctrl function enabled and the device tree setting up the pins we want to use, this patch removes the manual pinmuxing except for that which is not done by the device tree and minimal pins necessary for SPL (like serial, GPMC, and MMC) Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: am3517_evm: Enable TCA6416PW GPIO ExpanderAdam Ford2018-09-291-0/+1
| | | | | | | | | | | | | | | | | | With DM_I2C and DM_GPIO working, this patch can enable the GPIO expander on the I2C bus. This GPIO expander is connected to some of the DIP switches and can now read the status of these pins. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: da850evm: Pinctrl for da850evmAdam Ford2018-09-293-0/+6
| | | | | | | | | | | | | | The simple pin controller works for da850, so this patch enables this to pin-mux the pins defined in the device tree for the da850evm. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: da850evm: Enable CMD_DM for da850evmAdam Ford2018-09-293-0/+3
| | | | | | | | | | | | | | With DM enabled, this patch enables the 'dm' command to access the dm tree, uclass and devres. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: am3517_evm: Enable PinctrlAdam Ford2018-09-291-0/+2
| | | | | | | | | | | | | | | | The simple pinctrl driver currently available works with the omap3. Enabling this will use the device tree to automatically set the pin-muxing for various drivers. Signed-off-by: Adam Ford <aford173@gmail.com>
* | cmd: Relocate poweroff under Device access commandsAdam Ford2018-09-291-5/+5
| | | | | | | | | | | | | | Previously poweroff was located under boot. It seems to make more sense to have it located under the Device access commands. Signed-off-by: Adam Ford <aford173@gmail.com>
* | ARM: DTS: various omap3: Remove cd-inverted from u-boot.dtsiAdam Ford2018-09-296-24/+0
| | | | | | | | | | | | | | With the omap_mmc driver no longer supporting cd-inverted, this patch removes all these references since they are not needed. Signed-off-by: Adam Ford <aford173@gmail.com>
* | mmc: omap_mmc: Remove invert referencesAdam Ford2018-09-292-12/+1
| | | | | | | | | | | | | | | | | | | | With DM_GPIO and DM_MMC translating GPIO_ACTIVE_LOW, any boards using the 'cd-invert' option will no longer need to do this. This patch removes the support for 'invert' from the MMC driver. Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Fix warning over when !DM_GPIO] Signed-off-by: Tom Rini <trini@konsulko.com>
* | ARM: dts: at91: sama5d4_xplained: add onewire connector for LCD eepromEugen Hristev2018-09-282-0/+21
| | | | | | | | | | | | Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>