X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fconfigs%2Fhikey.h;h=2732c019c426736a180703cb4b96816d94492d32;hb=831f06fe9af0b45fa2cba64300524d1726fb9241;hp=594885d26e7aac5343e637d2b143e185c24b8b6d;hpb=278b90ce786f73faf29aa522d5d101e1da006378;p=oweals%2Fu-boot.git diff --git a/include/configs/hikey.h b/include/configs/hikey.h index 594885d26e..2732c019c4 100644 --- a/include/configs/hikey.h +++ b/include/configs/hikey.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2015 Linaro * @@ -5,8 +6,6 @@ * * Configuration for HiKey 96boards CE. Parts were derived from other ARM * configurations. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __HIKEY_H @@ -19,13 +18,12 @@ #define CONFIG_REMAKE_ELF -#define CONFIG_SUPPORT_RAW_INITRD +#define CONFIG_SYS_BOOTM_LEN SZ_64M /* Physical Memory Map */ /* CONFIG_SYS_TEXT_BASE needs to align with where ATF loads bl33.bin */ -#define CONFIG_NR_DRAM_BANKS 6 #define PHYS_SDRAM_1 0x00000000 /* 1008 MB (the last 16Mb are secured for TrustZone by ATF*/ @@ -53,24 +51,15 @@ #define CONFIG_USB_DWC2_REG_ADDR 0xF72C0000 /*#define CONFIG_DWC2_DFLT_SPEED_FULL*/ #define CONFIG_DWC2_ENABLE_DYNAMIC_FIFO - -#define CONFIG_MISC_INIT_R #endif #define CONFIG_HIKEY_GPIO -/* SD/MMC configuration */ -#define CONFIG_BOUNCE_BUFFER - /* Command line configuration */ -#define CONFIG_MTD_PARTITIONS - /* BOOTP options */ #define CONFIG_BOOTP_BOOTFILESIZE -#include - /* Initial environment variables */ /* @@ -92,14 +81,12 @@ "initrd_high=0xffffffffffffffff\0" \ BOOTENV -/* Preserve environment on sd card */ -#define CONFIG_ENV_SIZE 0x1000 -#define CONFIG_ENV_VARS_UBOOT_CONFIG +/* Preserve environment on eMMC */ +#define CONFIG_SYS_MMC_ENV_DEV 0 /* Use eMMC */ +#define CONFIG_SYS_MMC_ENV_PART 2 /* Use Boot1 partition */ /* Monitor Command Prompt */ #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */ -#define CONFIG_SYS_LONGHELP -#define CONFIG_CMDLINE_EDITING #define CONFIG_SYS_MAXARGS 64 /* max command args */ #endif /* __HIKEY_H */