- Feb 17, 2017
-
-
Stefan Herbrechtsmeier authored
Move the zynq to clock framework and remove unused functions as well as the CONFIG_ZYNQ_PS_CLK_FREQ configuration. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefan Herbrechtsmeier authored
Add a clock framework driver for the zynq platform. The driver is based on the platform zynq clock driver but reworked to use static functions instead of run-time generated objects even for unused clocks. Additionally the CONFIG_ZYNQ_PS_CLK_FREQ is replaced by the ps-clk-frequency from the device tree. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefan Herbrechtsmeier authored
The zynq_clk_get_name function is only used once inside the clock driver. Replace the function call with the one-line code. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by:
Michal Simek <michal.simek@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefan Herbrechtsmeier authored
The clock names are static and correspond to the clock id. Separate them from the dynamic filled clock array. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by:
Michal Simek <michal.simek@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefan Herbrechtsmeier authored
If available use the clock framework to calculate the clock rate of the zynq timer. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefan Herbrechtsmeier authored
If available use the clock framework to set the tx clock rate of the zynq ethernet controller. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefan Herbrechtsmeier authored
The gem[0-1]_rclk_ctrl registers control the source of the rx clock, control and data signals and configure via ps7_init function. Don't overwrite the register with the default value. Signed-off-by:
Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- Feb 13, 2017
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://www.denx.de/git/u-boot-microblazeTom Rini authored
Xilinx fixes for v2017.03 - defconfig alignment - Topic.nl board updates - Minor microblaze comment fix
-
Masahiro Yamada authored
With the Kconfig re-sync with Linux 4.10, characters such as '}', ';' in Kconfig help message cause warnings: $ make defconfig *** Default configuration is based on 'sandbox_defconfig' drivers/i2c/Kconfig:132:warning: ignoring unsupported character '}' drivers/i2c/Kconfig:132:warning: ignoring unsupported character ';' Drop the Device Tree fragment from the help. Acked-by:
Heiko Schocher <hs@denx.de> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Feb 12, 2017
-
-
Masahiro Yamada authored
Re-sync all files under the scripts/kconfig directory with Linux 4.10. Some parts include U-Boot own modification. I made sure to not revert the following commits: 5b8031cc ("Add more SPDX-License-Identifier tags") 192bc694 ("Fix GCC format-security errors and convert sprintfs.") da58dec8 ("Various Makefiles: Add SPDX-License-Identifier tags") 20c20826 ("Kconfig: Enable usage of escape char '\' in string values") Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
The whole of common/flash.c is guarded by #if defined() ... #endif. Move the conditional to common/Makefile. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is not completed. Finish this work by the tool. During this move, let's rename it to CONFIG_MTD_NOR_FLASH. Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH" than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will make the code more readable. Besides, negative meaning symbols do not fit in obj-$(CONFIG_...) style Makefiles. This commit was created as follows: [1] Edit "default n" to "default y" in the config entry in common/Kconfig. [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH" [3] Rename the instances in defconfigs by the following: find . -path './configs/*_defconfig' | xargs sed -i \ -e '/CONFIG_SYS_NO_FLASH=y/d' \ -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/' [4] Change the conditionals by the following: find . -name '*.[ch]' | xargs sed -i \ -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \ -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \ -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \ -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/' [5] Modify the following manually - Rename the rest of instances - Remove the description from README - Create the new Kconfig entry in drivers/mtd/Kconfig - Remove the old Kconfig entry from common/Kconfig - Remove the garbage comments from include/configs/*.h Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Feb 11, 2017
-
-
git://git.denx.de/u-boot-samsungTom Rini authored
-
- Feb 10, 2017
-
-
Michal Simek authored
Use correct name in endif comment. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Mike Looijmans authored
The kernel partition in QSPI is 0x440000 large, not 0x400000. Fix this in the environment, otherwise the kernel will fail to boot if it occupies more space. Signed-off-by:
Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Mike Looijmans authored
Allow sending firmware to RAM. Without this, the DFU support was not of much use. Signed-off-by:
Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Mike Looijmans authored
On the miami board, ethernet is accessed via logic. To use it, one would have to program logic first and then set up the rgmii conversion block as well. Not likely to ever be used, so disable network support by default to save some space. Signed-off-by:
Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Keep all defconfig sorted to ensure the smallest diff. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Simon Glass authored
We don't ever search for these so there is no need for a 4KB alignment. It just wastes space. Drop this and use the standard 4-byte alignment. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Feb 09, 2017
-
-
git://git.denx.de/u-boot-videoTom Rini authored
-
Eddie Cai authored
Miniarm is the internal project code. Now it is officially named Tinker board. So rename it. Signed-off-by:
Eddie Cai <eddie.cai@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Romain Perier authored
This commit enables ethernet MAC address randomization on the firefly-rk3288. It removes the error at startup 'ethernet@ff290000 address not set'. Signed-off-by:
Romain Perier <romain.perier@collabora.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jacob Chen authored
Keep it same with other boards otherwise i have to write special script for it.. Signed-off-by:
Jacob Chen <jacob2.chen@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jacob Chen authored
To reduce redundant code. Signed-off-by:
Jacob Chen <jacob2.chen@rock-chips.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This is wrong at present, so genboardscfg.py gives the following warnings: WARNING: no status info for 'chromebook_minnie' WARNING: no maintainers for 'chromebook_minnie' Fix it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Jacob Chen authored
miniarm board use lpddr3 Signed-off-by:
Jacob Chen <jacob2.chen@rock-chips.com> Acked-by:
Simon Glass <sjg@chromium.org> Added 'rockchip:' prefix to subject: Signed-off-by:
Simon Glass <sjg@chromium.org> Change-Id: I84c3679dab2dbd8d01c1ebfd22220946d07c03cd
-
Tom Rini authored
It was incorrect to always include "asm/arch-omap3/mux.h" constantly. This introduced warnings on non-omap3 where certain values will conflict between the various families. Conditionally guard the inclusion in order to correct the problem. Fixes: 6aca17c9 ("drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36xx") Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-netTom Rini authored
-
git://git.denx.de/u-boot-mmcTom Rini authored
-
Tom Rini authored
To save more space, switch to simple malloc here. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
The qemu-x86* targets do not want to enable this. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Fiach Antaw authored
MMC devices accessed exclusively via the driver model were not being initialized before being exposed as block devices, causing issues in scenarios where the MMC device is first accessed via the uclass block interface. Signed-off-by:
Fiach Antaw <fiach.antaw@uqconnect.edu.au>
-
Adam Ford authored
On the OMAP36xx/37xx the CONTROL_WKUP_CTRL register has a field (bit 6) named GPIO_IO_PWRDNZ. If 0, the IO buffers which are related to GPIO_126, 127 and 129 are disabled. Some boards may need this for MMC. After the PBIAS is configured, this bit should be set high to enable these GPIO pins. Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Jaehoon Chung authored
ftsdc021_sdhci.c is dead file. There is no reason to maintain this host controller. Removes the entire ftsdc021_sdhci.c. Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Jaehoon Chung authored
If there are alias nodes as "mmc", use the devnum as alias index number. This patch is for fixing a problem of Exynos4 series. Problem is the below thing. Current legacy mode: EXYNOS DWMMC: 0, SAMSUNG SDHCI: 1 After using DM: SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1 Dev index is swapped. Then u-boot can't find the kernel image..because it is already set to 0 as mmcdev. If change from legacy to DM, also needs to touch all exynos4 config file. For using simply, just supporting the fixed devnum with alias node is better than it. Usage: alaise { .... mmc0 = &sdhci2; /* eMMC */ mmc1 = &sdhci1; /* SD */ ... } Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jaehoon Chung authored
To use driver-model adds the pmic node for max8997. This is used as kernel device-tree in Linux. Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Jaehoon Chung authored
Add the max8997 controller for Driver model. Exynos4210 is using max8997 pmic controller. (pmic_max8997.c should be deprecated.) Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-socfpgaTom Rini authored
-