summaryrefslogtreecommitdiff
path: root/include/configs/rk3399_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-08-06 11:38:14 -0400
committerTom Rini <trini@konsulko.com>2016-08-06 11:38:14 -0400
commit2863a9bfc29092be37f8beee230883367b057065 (patch)
tree89512fd197401cf269b0b5cd6d80b0c1ac4a924c /include/configs/rk3399_common.h
parentf2df3b6e9935c964cd33d2ca59079b3f176697d3 (diff)
parentabd0128eb12232948c6b7d3ad88132bb2d4897f8 (diff)
downloadu-boot-imx-2863a9bfc29092be37f8beee230883367b057065.zip
u-boot-imx-2863a9bfc29092be37f8beee230883367b057065.tar.gz
u-boot-imx-2863a9bfc29092be37f8beee230883367b057065.tar.bz2
Merge git://git.denx.de/u-boot-rockchip
Diffstat (limited to 'include/configs/rk3399_common.h')
-rw-r--r--include/configs/rk3399_common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 6ce1aa7..6875308 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -30,11 +30,16 @@
/* MMC/SD IP block */
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC
+#define CONFIG_DWMMC
#define CONFIG_SDHCI
#define CONFIG_BOUNCE_BUFFER
#define CONFIG_ROCKCHIP_SDHCI_MAX_FREQ 200000000
+#define CONFIG_SUPPORT_VFAT
+#define CONFIG_FS_FAT
#define CONFIG_FAT_WRITE
+#define CONFIG_FS_EXT4
+#define CONFIG_CMD_PART
/* RAW SD card / eMMC locations. */
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 256
@@ -59,6 +64,14 @@
"kernel_addr_r=0x02000000\0" \
"ramdisk_addr_r=0x04000000\0"
+#define CONFIG_CMD_GPT
+#define CONFIG_RANDOM_UUID
+#define CONFIG_PARTITION_UUIDS
+#define PARTS_DEFAULT \
+ "uuid_disk=${uuid_gpt_disk};" \
+ "name=boot,start=16M,size=32M,bootable;" \
+ "name=rootfs,size=-,uuid=${uuid_gpt_rootfs};\0" \
+
/* First try to boot from SD (index 0), then eMMC (index 1) */
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 0) \
@@ -66,6 +79,8 @@
#include <config_distro_bootcmd.h>
#define CONFIG_EXTRA_ENV_SETTINGS \
+ ENV_MEM_LAYOUT_SETTINGS \
+ "partitions=" PARTS_DEFAULT \
BOOTENV
#endif