mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
6ab77bb14f
Commit 65cc0e2a65
("global: Move remaining CONFIG_SYS_* to CFG_SYS_*")
renamed CONFIG_SYS_UBOOT_START to CFG_SYS_UBOOT_START. Unfortunately,
this meant that the value was no longer available to the Makefile. This
caused imxrt to fail to boot. All the other boards that used this
variable were unaffected because they were using the default value
which is CONFIG_TEXT_BASE.
This commit converts CFG_SYS_UBOOT_START to Kconfig and sets the default
value to CONFIG_TEXT_BASE.
Suggested-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
34 lines
705 B
C
34 lines
705 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Configuration for MediaTek MT8512 SoC
|
|
*
|
|
* Copyright (C) 2019 MediaTek Inc.
|
|
* Author: Mingming Lee <mingming.lee@mediatek.com>
|
|
*/
|
|
|
|
#ifndef __MT8512_H
|
|
#define __MT8512_H
|
|
|
|
/* Uboot definition */
|
|
#define ENV_BOOT_READ_IMAGE \
|
|
"boot_rd_img=mmc dev 0" \
|
|
";mmc read ${loadaddr} 0x27000 0x8000" \
|
|
";iminfo ${loadaddr}\0"
|
|
|
|
/* Console configuration */
|
|
#define ENV_DEVICE_SETTINGS \
|
|
"stdin=serial\0" \
|
|
"stdout=serial\0" \
|
|
"stderr=serial\0"
|
|
|
|
#define ENV_BOOT_CMD \
|
|
"mtk_boot=run boot_rd_img;bootm;\0"
|
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
"fdt_high=0x6c000000\0" \
|
|
ENV_DEVICE_SETTINGS \
|
|
ENV_BOOT_READ_IMAGE \
|
|
ENV_BOOT_CMD \
|
|
"bootcmd=run mtk_boot;\0" \
|
|
|
|
#endif
|