summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* davinci: Fix omapl138_lcdk buildsTom Rini2018-01-311-15/+14
| | | | | | | | | | | | | The omapl138_lcdk platform is not a DA850 SoC so we need to select SOC_DA8XX and not SOC_DA850, as it was before. It does however point out a bit of a misnomer in how all of these PLL defines are named as they are generic to DA8xx, not DA850 centric. Remove the 'if SOC_DA850' under the defaults as these are simply the defaults. As SOC_DA8XX will select SYS_DA850_DDR_INIT when needed, we do not need it under both SOC options. Fixes: 76e22222d3aa ("Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig") Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge tag 'xilinx-for-v2018.03' of git://git.denx.de/u-boot-microblazeTom Rini2018-01-3169-225/+5801
|\ | | | | | | | | | | | | | | | | | | | | | | Xilinx changes for v2018.03 - Several Kconfig fixes (also moving configs to defconfigs) - Some DTS updates - ZynqMP psu rework based on Zynq concept - Add low level initialization for zc770 and zcu102 - Add support for Zynq zc770 x16 nand configuration - Add mini nand/emmc ZynqMP targets - Some arasan nand changes
| * arm64: zynqmp: Fix misspelled choice defaultUlf Magnusson2018-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no JTAG symbol in the "Boot mode" choice. JTAG_MODE was probably intended. No functional changes. Kconfig choices fall back on using the first (visible) symbol in the choice as the default if the default symbol is not visible. Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib), which prints the following warning: warning: the default selection JTAG (undefined) of <choice> (defined at arch/arm/cpu/armv8/zynqmp/Kconfig:107) is not contained in the choice I've added a corresponding warning to the C tools too, which is currently in linux-next: https://patchwork.kernel.org/patch/9983667/ Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Moved ethernet PHY configs of ZynqMP boards to defconfigVipul Kumar2018-01-309-5/+40
| | | | | | | | | | | | | | | | This patch moved ethernet PHY configs of ZynqMP boards to respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * microblaze: Moved ethernet PHY configs of Microblaze board to defconfigVipul Kumar2018-01-302-8/+8
| | | | | | | | | | | | | | | | This patch moved ethernet PHY configs of Microblaze board to respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Moved ethernet PHY configs of Zynq boards to defconfigVipul Kumar2018-01-3013-3/+36
| | | | | | | | | | | | | | | | This patch moved ethernet PHY configs of Zynq boards to respective defconfig. Signed-off-by: Vipul Kumar <vipulk@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Remove ethernet alias for topic-miamiMichal Simek2018-01-301-1/+0
| | | | | | | | | | | | | | Ethernet is not enabled that's why this alias should be completely unused. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Mark cc108 uart to be initialized before relocationMichal Simek2018-01-301-0/+1
| | | | | | | | | | | | | | The same change is done for others zynq boards to get uart as early as possible. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Update years in copyright to reflect latest changesMichal Simek2018-01-307-6/+7
| | | | | | | | | | | | Updating year in zynq files. Also add missing Copyright to board.c. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Add psu_init for zcu102-rev1.0Michal Simek2018-01-301-0/+975
| | | | | | | | | | | | Add low level initialization for zcu102-rev1.0. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Prepare psu_init reworkMichal Simek2018-01-306-11/+109
| | | | | | | | | | | | | | | | | | Move generic functions to common location psu_spl_init.c. Function declarations are added to private header. These changes are done in connection to the fact that still files from HDF can be copied over and compilation should pass. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Call psu_init() only when ZYNQMP_PSU_INIT_ENABLEDMichal Simek2018-01-302-1/+5
| | | | | | | | | | | | | | Remove SPL_BUILD dependency from zynqmp.c and move it to header file. Use only one symbol for including psu_init. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Remove unused empty functionsMichal Simek2018-01-301-12/+0
| | | | | | | | | | | | Remove functions which are no longer renerated by PCW. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * nand: arasan: Select CONFIG_SYS_NAND_SELF_INITEzequiel Garcia2018-01-302-1/+1
| | | | | | | | | | | | | | | | | | | | | | The Arasan NFC driver requires the self-init mode, so it should select it. Instead of having the config header define the macro, it's cleaner to select the option at the Kconfig level. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * nand: arasan_nfc: Use the calculated ecc address for updating ecc registerSiva Durga Prasad Paladugu2018-01-301-2/+5
| | | | | | | | | | | | | | | | | | This patch corrects the ecc address calculation before updating to ecc register. The ecc address has to be calculated based on page, oob and ecc sizes of the device. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * nand: arasan_nfc: Add support for ondie eccSiva Durga Prasad Paladugu2018-01-301-27/+138
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for ondie ecc. As of now this adds support for micron parts which supports ondie ecc. Didn't found any better way to detect ondie ecc support by a device except sorting out with manufacture and device id's. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * nand: arasan_nfc: Move common ecc struct initialization init routineSiva Durga Prasad Paladugu2018-01-301-7/+7
| | | | | | | | | | | | | | | | Move common part of ecc structure initialization to arasan_nand_init() routine. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * xilinx: zynqmp: Add new target with only emmc enabledSiva Durga Prasad Paladugu2018-01-304-0/+144
| | | | | | | | | | | | | | | | | | | | This patch adds new target which is called as mini configuration with only emmc functionality and other required basic features enabled. This will be used to run in system with small footprint and needs emmc support. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * xilinx: zynqmp: Add new target with only nand enabledSiva Durga Prasad Paladugu2018-01-305-0/+222
| | | | | | | | | | | | | | | | | | | | This patch adds new target which is called as mini configuration with only nand functionality and other required basic features enabled. This will be used to run in system with small footprint and needs nand support. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Provide a config to not map DDR region in MMU tableSiva Durga Prasad Paladugu2018-01-302-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | DDR less systems are possible for configuration like mini qspi and making DDR region as normal memory may cause speculative access which results u-boot hang if DDR is absent. So, this patch fixes the issue by not making DDR memory region entry into MMU table. Future solution is to prepare MMU table per memory node in dts instead of hard code DDR addresses. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Propagate error value from psu_init()Michal Simek2018-01-303-4/+6
| | | | | | | | | | | | | | | | psu_init() returns int which wasn't declared and checked. The patch is fixing function declarations and code to handle return values properly. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: zynqmp: Remove whitespaces in psu_init() commentMichal Simek2018-01-301-4/+4
| | | | | | | | | | | | Remove additional spaces before comment. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Fix pmu register description coding styleMichal Simek2018-01-301-1/+2
| | | | | | | | | | | | | | | | Drop the space before/after '<' and '>'; and separate the entries to be a bit more readable. Reported-by: Julia Cartwright <julia@ni.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Enable distro defaults settingMichal Simek2018-01-3013-111/+13
| | | | | | | | | | | | | | BOOTCOMMAND is composed with distro_bootcmd but this variable is not present. Enabling distro defaults setting is fixing it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Move bootcommand to defconfigMichal Simek2018-01-3018-2/+32
| | | | | | | | | | | | | | It will cleanup generic config and enable option to change it for every board. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Enable DM_GPIO when neededMichal Simek2018-01-3018-2/+16
| | | | | | | | | | | | | | | | There are two reasons for doing this change. There is still !DM driver for xilinx soft gpio IP and especially it is saving some space for memory constrained boards like cse (almost ~400B). Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Enable DM_ETH and DM_MMC only if subsystem is enabledMichal Simek2018-01-301-2/+2
| | | | | | | | | | | | | | Do not enable DM_ETH/MMC if subsystems are not enabled. This saves memory for memory constrained boards like cse. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Enable BLK when neededMichal Simek2018-01-305-2/+3
| | | | | | | | | | | | | | | | There is no reason to enable BLK by default for all boards which is just increasing memory footprint for memory contrained boards like cse. zc770s are also saving some space. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Disable networking for zc770 xm011Michal Simek2018-01-301-6/+4
| | | | | | | | | | | | | | Ethernet cable is not connected for xm011 that's why disable all ethernet related configurations. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Enable debug console for zc770 xm011Michal Simek2018-01-301-0/+5
| | | | | | | | | | | | Wire debug console which is useful for early debugging. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add identification string to Xilinx boardsMichal Simek2018-01-306-0/+6
| | | | | | | | | | | | | | It is good to see this string to make sure that u-boot which runs on the board is the same which should run there. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * armv8: zynqmp: Map PCIe High as device memoryAnders Hedlund2018-01-301-6/+6
| | | | | | | | | | | | | | | | Set the 8GB PCIe High area as device memory. Also extend the DDR High area to cover the full 32GB range. Signed-off-by: Anders Hedlund <anders.j.hedlund@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * xilinx: zynqmp: Use strlen only if env_get doesn't return nullSiva Durga Prasad Paladugu2018-01-301-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add check if boot_targets exists in environment and then generate new_targets env accordingly. Performing strlen on null address causes it to fail with exception if isolation is enabled with DDR address zero as secure. It works with out isolation enabled as zero is valid address but it may lead to junk values in boot_targets. This patch fixes the issue by checking return value of env_get so that it generate boot_targets properly. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * ARM: zynq: remove unused CONFIG_ZC770_XM01* optionsMasahiro Yamada2018-01-304-4/+0
| | | | | | | | | | | | | | These are defined, but not referenced at all. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Fix types in ps7_spl_initMichal Simek2018-01-301-2/+2
| | | | | | | | | | | | | | | | | | | | The patch is fixing the following Warning: arch/arm/mach-zynq/ps7_spl_init.c:133:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (ioread(addr) < delay) ^ Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add support for zc770-xm011-x16 configurationMichal Simek2018-01-303-0/+827
| | | | | | | | | | | | | | | | zc770-xm011 is x8 width configuration. This FMC card has also x16 variant which requires different ps7_init configuration. This patch adds it. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add zc770-xm013 spl configurationMichal Simek2018-01-301-0/+767
| | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add zc770-xm012 spl configurationMichal Simek2018-01-301-0/+818
| | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add zc770-xm011 spl configurationMichal Simek2018-01-301-0/+776
| | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Add zc770-xm010 spl configurationMichal Simek2018-01-301-0/+800
| | | | | | | | | | | | Simplify ps7_init* initialization. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * doc: zynq: Describe status of zc770-xm011Michal Simek2018-01-301-2/+1
| | | | | | | | | | | | zc770-xm011 is also added and supported. Reflect this in README. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * doc: Update the zynq u-boot statusEzequiel Garcia2018-01-241-4/+3
| | | | | | | | | | | | | | | | | | NAND and QSPI devices are now supported, so mark them as such. Cc: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm: zynq: Enable SPL_CLK only if SPL is enabledEzequiel Garcia2018-01-241-1/+1
| | | | | | | | | | | | | | | | | | Setup proper dependency in Kconfig for SPL_CLK. If SPL is not enabled, SPL_CLK shouldn't be selected. Cc: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | Convert CONFIG_SYS_OMAP24_I2C_SLAVE et al to KconfigAdam Ford2018-01-3024-32/+21
| | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_OMAP24_I2C_SLAVE CONFIG_SYS_OMAP24_I2C_SPEED Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Paul Kocialkowski <contact@paulk.fr>
* | Convert CONFIG_SYS_DV_CLKMODE et al to KconfigAdam Ford2018-01-308-84/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_DV_CLKMODE CONFIG_SYS_DA850_PLL0_POSTDIV CONFIG_SYS_DA850_PLL0_PLLDIV1 CONFIG_SYS_DA850_PLL0_PLLDIV2 CONFIG_SYS_DA850_PLL0_PLLDIV3 CONFIG_SYS_DA850_PLL0_PLLDIV4 CONFIG_SYS_DA850_PLL0_PLLDIV5 CONFIG_SYS_DA850_PLL0_PLLDIV6 CONFIG_SYS_DA850_PLL0_PLLDIV7 CONFIG_SYS_DA850_PLL1_POSTDIV CONFIG_SYS_DA850_PLL1_PLLDIV1 CONFIG_SYS_DA850_PLL1_PLLDIV2 CONFIG_SYS_DA850_PLL1_PLLDIV3 Signed-off-by: Adam Ford <aford173@gmail.com>
* | Convert CONFIG_SYS_BOOT_GET_{CMDLINE, KBD} to KconfigDerald D. Woods2018-01-305-6/+16
| | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_BOOT_GET_CMDLINE CONFIG_SYS_BOOT_GET_KBD Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
* | Merge git://git.denx.de/u-boot-x86Tom Rini2018-01-3010-17/+48
|\ \
| * | x86: kconfig: Remove meaningless 'select n'Ulf Magnusson2018-01-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'select n' selects a constant symbol, which is meaningless and has no effect. Maybe this was meant to be a 'default n', though bool and tristate symbols already implicitly default to n. Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib), which does more strict checking here: kconfiglib.KconfigSyntaxError: board/google/Kconfig:34: Couldn't parse ' select n': expected nonconstant symbol Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
| * | x86: quark: Fix unused warningsTom Rini2018-01-301-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The variable t_rfc is never used, so drop it. The variables ddr_wctl and ddr_wcmd are only used in certain manual instances, so guard their declaration by the same check as their use. Cc: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>
| * | cmd/bdinfo: print relocation info on X86Heinrich Schuchardt2018-01-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | For debugging U-Boot in qemu-x86 the relocation address is needed. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com>