summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfang hui <hui.fang@nxp.com>2016-04-11 15:18:40 +0800
committerfang hui <hui.fang@freescale.com>2016-04-29 09:26:34 +0800
commitda31fc42b5904ce8d0ffc16097c5a59d89224714 (patch)
tree71206f70f43d696924a691888f43533d850f97bd /include
parentd2c823c568e7c4f58266e6fe561faed4587e978f (diff)
downloadu-boot-imx-da31fc42b5904ce8d0ffc16097c5a59d89224714.zip
u-boot-imx-da31fc42b5904ce8d0ffc16097c5a59d89224714.tar.gz
u-boot-imx-da31fc42b5904ce8d0ffc16097c5a59d89224714.tar.bz2
MA-7251 - [evk_6ul]: Support boot conctrol for brillo
brillo need bootlader support boot control. bootlader can choose which slot(partition) to boot based on it's tactic. The commit support boot control for evk6ul Signed-off-by: fang hui <hui.fang@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6ul_14x14_evk.h7
-rw-r--r--include/fsl_fastboot.h15
2 files changed, 20 insertions, 2 deletions
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index d87a4d8..1054088 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2015 Freescale Semiconductor, Inc.
+ * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX6UL 14x14 EVK board.
*
@@ -427,4 +427,9 @@
#include "mx6ul_14x14_evk_android.h"
#endif
+#if defined(CONFIG_BRILLO_SUPPORT)
+#include "mx6ul_14x14_evk_brillo.h"
+#endif
+
+
#endif
diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h
index 5a38d99..a1a6eff 100644
--- a/include/fsl_fastboot.h
+++ b/include/fsl_fastboot.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2015 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2016 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -33,11 +33,22 @@
#define FASTBOOT_MMC_USER_PARTITION_ID 0
#define FASTBOOT_MMC_NONE_PARTITION_ID -1
+#ifdef CONFIG_BRILLO_SUPPORT
+#define FASTBOOT_PARTITION_BOOT_A "boot_a"
+#define FASTBOOT_PARTITION_RECOVERY "recovery"
+#define FASTBOOT_PARTITION_SYSTEM_A "system_a"
+#define FASTBOOT_PARTITION_BOOTLOADER "bootloader"
+#define FASTBOOT_PARTITION_DATA "data"
+#define FASTBOOT_PARTITION_BOOT_B "boot_b"
+#define FASTBOOT_PARTITION_SYSTEM_B "system_b"
+#define FASTBOOT_PARTITION_SLOTMETA "slotmeta"
+#else
#define FASTBOOT_PARTITION_BOOT "boot"
#define FASTBOOT_PARTITION_RECOVERY "recovery"
#define FASTBOOT_PARTITION_SYSTEM "system"
#define FASTBOOT_PARTITION_BOOTLOADER "bootloader"
#define FASTBOOT_PARTITION_DATA "data"
+#endif
enum {
DEV_SATA,
@@ -169,4 +180,6 @@ void save_parts_values(struct fastboot_ptentry *ptn,
int check_parts_values(struct fastboot_ptentry *ptn);
#endif /*CONFIG_FASTBOOT_STORAGE_NAND*/
+int fastboot_tx_write_str(const char *buffer);
+
#endif /* FSL_FASTBOOT_H */