ARM: keystone2: enable initrd fixup for LPAE addressing
authorTero Kristo <t-kristo@ti.com>
Tue, 11 Feb 2020 03:55:52 +0000 (09:25 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Thu, 13 Feb 2020 16:09:18 +0000 (21:39 +0530)
Keystone2 u-boot loads the initrd image into non-LPAE addressed memory
but linux kernel is running in LPAE. This causes a conflict as kernel
detects that non-memory address is passed and kernel ignores initrd.
There is an existing fixup logic to modify the address in the proper
configuration, but this is disabled at the moment. Enable the fixup
by setting the env variable for this so that initrd can be used
properly.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/ti_armv7_keystone2.h

index ba12428dbe6b19631fa6a609ec3316dd7da2d3a4..1b014c1022be2d88b5a2b33f55a38c7f5a8a7b41 100644 (file)
        "tftp_root=/\0"                                                 \
        "nfs_root=/export\0"                                            \
        "mem_lpae=1\0"                                                  \
+       "uinitrd_fixup=1\0"                                             \
        "addr_ubi=0x82000000\0"                                         \
        "addr_secdb_key=0xc000000\0"                                    \
        "name_kern=zImage\0"                                            \