From: Patrick Delaunay <patrick.delaunay73@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Resend RFC PATCH v1 3/3] sandbox: GPT over MTD test
Date: Tue, 22 Nov 2016 14:24:42 +0100 [thread overview]
Message-ID: <1479821082-26311-4-git-send-email-patrick.delaunay73@gmail.com> (raw)
In-Reply-To: <1479821082-26311-1-git-send-email-patrick.delaunay73@gmail.com>
From: Patrick Delaunay <patrick.delaunay@st.com>
activate needed feature in sandbox to allow test GPT over MTD
- EFI_PARTITION_MTD
- SPI_FLASH_MTD
- CMD_MTDPARTS
- MTD_PARTITIONS
- MTD_DEVICE
activate 2 features useful for test
- RANDOM_UUID
- PARTITION_TYPE_GUID
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
---
configs/sandbox_defconfig | 2 ++
include/configs/sandbox.h | 7 +++++++
2 files changed, 9 insertions(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 380d4fe..1ba8d2a 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -5,6 +5,7 @@ CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_FIT_SIGNATURE=y
CONFIG_SPL_LOAD_FIT=y
+CONFIG_EFI_PARTITION_MTD=y
CONFIG_BOOTSTAGE=y
CONFIG_BOOTSTAGE_REPORT=y
CONFIG_BOOTSTAGE_USER_COUNT=0x20
@@ -110,6 +111,7 @@ CONFIG_SPI_FLASH_SPANSION=y
CONFIG_SPI_FLASH_STMICRO=y
CONFIG_SPI_FLASH_SST=y
CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_SPI_FLASH_MTD=y
CONFIG_DM_ETH=y
CONFIG_PCI=y
CONFIG_DM_PCI=y
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 2daf02d..66707e3 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -49,13 +49,20 @@
#define CONFIG_CMD_MD5SUM
#define CONFIG_CMD_GPT
+#define CONFIG_RANDOM_UUID
#define CONFIG_PARTITION_UUIDS
+#define CONFIG_PARTITION_TYPE_GUID
#define CONFIG_AMIGA_PARTITION
#define CONFIG_DOS_PARTITION
#define CONFIG_EFI_PARTITION
#define CONFIG_ISO_PARTITION
#define CONFIG_MAC_PARTITION
+/* Dynamic MTD partition support */
+#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_MTD_DEVICE
+
/*
* Size of malloc() pool, before and after relocation
*/
--
1.9.1
next prev parent reply other threads:[~2016-11-22 13:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-22 13:24 [U-Boot] [Resend RFC PATCH v1 0/3] GPT over MTD Patrick Delaunay
2016-11-22 13:24 ` [U-Boot] [Resend RFC PATCH v1 1/3] add support of GPT partitioning " Patrick Delaunay
2016-11-24 2:20 ` Simon Glass
2016-11-24 10:27 ` Patrick DELAUNAY
2016-11-27 17:02 ` Simon Glass
2016-11-28 15:06 ` Patrick DELAUNAY
2016-11-30 10:45 ` Patrick DELAUNAY
2016-11-22 13:24 ` [U-Boot] [Resend RFC PATCH v1 2/3] uuid: remove dependency with io.h Patrick Delaunay
2016-11-22 13:24 ` Patrick Delaunay [this message]
2016-11-22 14:57 ` [U-Boot] [Resend RFC PATCH v1 0/3] GPT over MTD Ladislav Michl
2016-11-24 14:14 ` Patrick DELAUNAY
2016-11-25 12:21 ` Ladislav Michl
2016-11-28 15:02 ` Patrick DELAUNAY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479821082-26311-4-git-send-email-patrick.delaunay73@gmail.com \
--to=patrick.delaunay73@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox