mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 01:50:25 +00:00
9774462e34
With the exceptions of ds109, ds414, icnova-a20-swac, nokia_rx51 and stemmy, disable ATAG support. A large number of platforms had enabled support but never supported a kernel so old as to require it. Further, some platforms are old enough to support both, but are well supported by devicetree booting, and have been for a number of years. This is because some of the ATAGs related functions have been re-used to provide the same kind of information, but for devicetree or just generally to inform the user. When needed still, rename these functions to get_board_revision() instead, to avoid conflicts. In other cases, these functions were simply unused, so drop them. Cc: Andre Przywara <andre.przywara@arm.com> Cc: Jagan Teki <jagan@amarulasolutions.com> Cc: Phil Sutter <phil@nwl.cc> Cc: Stefan Bosch <stefan_b@posteo.net> Signed-off-by: Tom Rini <trini@konsulko.com>
49 lines
1.4 KiB
C
49 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
|
|
*/
|
|
#ifndef __CONFIGS_STEMMY_H
|
|
#define __CONFIGS_STEMMY_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/*
|
|
* The "stemmy" U-Boot port is designed to be chainloaded by the Samsung
|
|
* bootloader on devices based on ST-Ericsson Ux500. Therefore, we skip most
|
|
* low-level initialization and rely on configuration provided by the Samsung
|
|
* bootloader. New images are loaded at the same address for compatibility.
|
|
*/
|
|
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
|
|
|
|
/* FIXME: This should be loaded from device tree... */
|
|
#define CONFIG_SYS_L2_PL310
|
|
#define CONFIG_SYS_PL310_BASE 0xa0412000
|
|
|
|
/* Linux does not boot if FDT / initrd is loaded to end of RAM */
|
|
#define BOOT_ENV \
|
|
"fdt_high=0x6000000\0" \
|
|
"initrd_high=0x6000000\0"
|
|
|
|
#define CONSOLE_ENV \
|
|
"stdin=serial\0" \
|
|
"stdout=serial,vidconsole\0" \
|
|
"stderr=serial,vidconsole\0"
|
|
|
|
#define FASTBOOT_ENV \
|
|
"fastboot_partition_alias_boot=Kernel\0" \
|
|
"fastboot_partition_alias_recovery=Kernel2\0" \
|
|
"fastboot_partition_alias_system=SYSTEM\0" \
|
|
"fastboot_partition_alias_cache=CACHEFS\0" \
|
|
"fastboot_partition_alias_hidden=HIDDEN\0" \
|
|
"fastboot_partition_alias_userdata=DATAFS\0"
|
|
|
|
#define BOOTCMD_ENV \
|
|
"fastbootcmd=echo '*** FASTBOOT MODE ***'; fastboot usb 0\0"
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
BOOT_ENV \
|
|
CONSOLE_ENV \
|
|
FASTBOOT_ENV \
|
|
BOOTCMD_ENV
|
|
|
|
#endif
|