diff mbox

[U-Boot,v2] config_distro_bootcmd.h: Enable CONFIG_CMD_PART

Message ID 1423312699-16564-2-git-send-email-hdegoede@redhat.com
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

Hans de Goede Feb. 7, 2015, 12:38 p.m. UTC
The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be
defined, as the default bootcmd now uses the "part" command.

This fixes sunxi boards not booting with v2015.04-rc1.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 include/config_distro_bootcmd.h | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stephen Warren Feb. 9, 2015, 5:28 p.m. UTC | #1
On 02/07/2015 05:38 AM, Hans de Goede wrote:
> The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be
> defined, as the default bootcmd now uses the "part" command.
>
> This fixes sunxi boards not booting with v2015.04-rc1.

Acked-by: Stephen Warren <swarren@nvidia.com>
Tom Rini Feb. 17, 2015, 8:22 p.m. UTC | #2
On Sat, Feb 07, 2015 at 01:38:19PM +0100, Hans de Goede wrote:

> The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be
> defined, as the default bootcmd now uses the "part" command.
> 
> This fixes sunxi boards not booting with v2015.04-rc1.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> Acked-by: Stephen Warren <swarren@nvidia.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
index 49674f4..07a0b3b 100644
--- a/include/config_distro_bootcmd.h
+++ b/include/config_distro_bootcmd.h
@@ -10,6 +10,10 @@ 
 #ifndef _CONFIG_CMD_DISTRO_BOOTCMD_H
 #define _CONFIG_CMD_DISTRO_BOOTCMD_H
 
+/* We need the part command */
+#define CONFIG_PARTITION_UUIDS
+#define CONFIG_CMD_PART
+
 #define BOOTENV_SHARED_BLKDEV_BODY(devtypel) \
 		"if " #devtypel " dev ${devnum}; then " \
 			"setenv devtype " #devtypel "; " \