]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Setup default bootargs with clk_ignore_unused
authorMichal Simek <michal.simek@xilinx.com>
Fri, 24 Feb 2017 08:35:42 +0000 (09:35 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 27 Feb 2017 07:56:09 +0000 (08:56 +0100)
Add default bootargs to u-boot not change all DTS files.
The important part is clk_ignore_unused which caused that clocks which
are unused won't be asked for disabling.
The problem lies in CCF design which is accessing clock tree directly.
It means when there is another master in the system Linux can disable
clock for IPs which this master uses because there is no
synchronization.
That's why solution for now is do not disable any unused clock because it
can be used by someone else.
earlycon is enabled by default for all dtses in the Linux kernel that's
why it is added here too.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h

index 40a43bea6709485f5a770dc2a3d3dc24facc9949..9371dbb585b5746b9cddf4a82448ea94eeca99fd 100644 (file)
        "kernel_size=0x1e00000\0" \
        "fdt_size=0x80000\0" \
        "bootenv=uEnv.txt\0" \
+       "bootargs=earlycon clk_ignore_unused\0" \
        "loadbootenv=load mmc $sdbootdev:$partid ${loadbootenv_addr} ${bootenv}\0" \
        "importbootenv=echo Importing environment from SD ...; " \
                "env import -t ${loadbootenv_addr} $filesize\0" \