Commit 6460fc42 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Simon Glass

rockchip: Add config_distro_bootcmd support

Now that MMC works in U-Boot add config distro command support to start
Linux in a standard fashion. One oddity here is that linux fails to load
when the fdt is relocated to above 512MB, so set fdt_high to make sure it's
loaded below that.
Signed-off-by: default avatarSjoerd Simons <>
Acked-by: default avatarSimon Glass <>
Signed-off-by: default avatarSimon Glass <>
parent 139230e7
......@@ -92,6 +92,27 @@
#include <config_distro_defaults.h>
"scriptaddr=0x00000000\0" \
"pxefile_addr_r=0x00100000\0" \
"fdt_addr_r=0x01f00000\0" \
"kernel_addr_r=0x02000000\0" \
/* First try to boot from SD (index 0), then eMMC (index 1 */
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 0) \
func(MMC, mmc, 1)
#include <config_distro_bootcmd.h>
/* Linux fails to load the fdt if it's loaded above 512M on a Rock 2 board, so
* limit the fdt reallocation to that */
"fdt_high=0x1fffffff\0" \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment