Convert CONFIG_SYS_I2C_EEPROM_CCID et al to Kconfig
[platform/kernel/u-boot.git] / include / configs / stemmy.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
4  */
5 #ifndef __CONFIGS_STEMMY_H
6 #define __CONFIGS_STEMMY_H
7
8 #include <linux/sizes.h>
9
10 /*
11  * The "stemmy" U-Boot port is designed to be chainloaded by the Samsung
12  * bootloader on devices based on ST-Ericsson Ux500. Therefore, we skip most
13  * low-level initialization and rely on configuration provided by the Samsung
14  * bootloader. New images are loaded at the same address for compatibility.
15  */
16
17 /* FIXME: This should be loaded from device tree... */
18 #define CONFIG_SYS_L2_PL310
19 #define CONFIG_SYS_PL310_BASE           0xa0412000
20
21 /* Linux does not boot if FDT / initrd is loaded to end of RAM */
22 #define BOOT_ENV \
23         "fdt_high=0x6000000\0" \
24         "initrd_high=0x6000000\0"
25
26 #define CONSOLE_ENV \
27         "stdin=serial\0" \
28         "stdout=serial,vidconsole\0" \
29         "stderr=serial,vidconsole\0"
30
31 #define FASTBOOT_ENV \
32         "fastboot_partition_alias_boot=Kernel\0" \
33         "fastboot_partition_alias_recovery=Kernel2\0" \
34         "fastboot_partition_alias_system=SYSTEM\0" \
35         "fastboot_partition_alias_cache=CACHEFS\0" \
36         "fastboot_partition_alias_hidden=HIDDEN\0" \
37         "fastboot_partition_alias_userdata=DATAFS\0"
38
39 #define BOOTCMD_ENV \
40         "fastbootcmd=echo '*** FASTBOOT MODE ***'; fastboot usb 0\0"
41
42 #define CONFIG_EXTRA_ENV_SETTINGS \
43         BOOT_ENV \
44         CONSOLE_ENV \
45         FASTBOOT_ENV \
46         BOOTCMD_ENV
47
48 #endif