]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/configs/evb_rk3229.h
Kconfig: Migrate all of cmd/fastboot/Kconfig to defconfigs
[people/ms/u-boot.git] / include / configs / evb_rk3229.h
CommitLineData
b24a8ec1
KY
1/*
2 * (C) Copyright 2017 Rockchip Electronics Co., Ltd
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __CONFIG_H
8#define __CONFIG_H
9
10#include <configs/rk322x_common.h>
11
12
13/* Store env in emmc */
14#undef CONFIG_ENV_SIZE
15#define CONFIG_ENV_SIZE (32 << 10)
b24a8ec1
KY
16#define CONFIG_SYS_MMC_ENV_DEV 0
17#define CONFIG_SYS_MMC_ENV_PART 0
18#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
19
20#ifndef CONFIG_SPL_BUILD
21/* Enable gpt partition table */
22#undef PARTS_DEFAULT
23#define PARTS_DEFAULT \
24 "uuid_disk=${uuid_gpt_disk};" \
25 "name=loader_a,start=4M,size=4M,uuid=${uuid_gpt_loader};" \
26 "name=loader_b,size=4M,uuid=${uuid_gpt_reserved};" \
27 "name=trust_a,size=4M,uuid=${uuid_gpt_reserved};" \
28 "name=trust_b,size=4M,uuid=${uuid_gpt_reserved};" \
29 "name=misc,size=4M,uuid=${uuid_gpt_misc};" \
30 "name=metadata,size=16M,uuid=${uuid_gpt_metadata};" \
31 "name=boot_a,size=32M,uuid=${uuid_gpt_boot_a};" \
32 "name=boot_b,size=32M,uuid=${uuid_gpt_boot_b};" \
33 "name=system_a,size=818M,uuid=${uuid_gpt_system_a};" \
34 "name=system_b,size=818M,uuid=${uuid_gpt_system_b};" \
35 "name=vendor_a,size=50M,uuid=${uuid_gpt_vendor_a};" \
36 "name=vendor_b,size=50M,uuid=${uuid_gpt_vendor_b};" \
37 "name=cache,size=100M,uuid=${uuid_gpt_cache};" \
38 "name=persist,size=4M,uuid=${uuid_gpt_persist};" \
39 "name=userdata,size=-,uuid=${uuid_gpt_userdata};\0" \
40
41#define CONFIG_PREBOOT
42
b24a8ec1
KY
43#define CONFIG_SYS_BOOT_RAMDISK_HIGH
44
45#undef CONFIG_BOOTCOMMAND
46#define CONFIG_BOOTCOMMAND \
47 "mmc read 0x61000000 0x8000 0x5000;" \
48 "bootm 0x61000000" \
49
50/* Enable atags */
51#define CONFIG_SYS_BOOTPARAMS_LEN (64*1024)
52#define CONFIG_INITRD_TAG
53#define CONFIG_SETUP_MEMORY_TAGS
54#define CONFIG_CMDLINE_TAG
55
56#endif
57
58#endif