From b840c333ac05f15a17d3ab7c1f44216a179b51d0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 16 Oct 2015 18:36:16 -0300 Subject: uboot4grub-udoo: add additional configuration options for GRUB in include/configs/udoo.h --- .../0001-parabola-arm-modifications+grub-support.patch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'libre-testing/uboot4grub-udoo/0001-parabola-arm-modifications+grub-support.patch') diff --git a/libre-testing/uboot4grub-udoo/0001-parabola-arm-modifications+grub-support.patch b/libre-testing/uboot4grub-udoo/0001-parabola-arm-modifications+grub-support.patch index a75c5c5ff..70903de64 100644 --- a/libre-testing/uboot4grub-udoo/0001-parabola-arm-modifications+grub-support.patch +++ b/libre-testing/uboot4grub-udoo/0001-parabola-arm-modifications+grub-support.patch @@ -190,7 +190,7 @@ diff -Nur u-boot-2015.01.orig/configs/udoo_dl_defconfig u-boot-2015.01/configs/u +CONFIG_TARGET_UDOO=y diff -Nur u-boot-2015.01.orig/include/configs/udoo.h u-boot-2015.01/include/configs/udoo.h --- u-boot-2015.01.orig/include/configs/udoo.h 2015-01-12 12:39:08.000000000 -0200 -+++ u-boot-2015.01/include/configs/udoo.h 2015-10-16 15:06:43.329468013 -0300 ++++ u-boot-2015.01/include/configs/udoo.h 2015-10-16 18:33:35.589059733 -0300 @@ -78,7 +78,7 @@ #define CONFIG_CMD_BMODE #define CONFIG_CMD_SETEXPR @@ -200,7 +200,7 @@ diff -Nur u-boot-2015.01.orig/include/configs/udoo.h u-boot-2015.01/include/conf #define CONFIG_SYS_MEMTEST_START 0x10000000 #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 500 * SZ_1M) -@@ -96,60 +96,79 @@ +@@ -96,60 +96,83 @@ #define CONFIG_BOUNCE_BUFFER #define CONFIG_CMD_EXT2 #define CONFIG_CMD_FAT @@ -208,6 +208,10 @@ diff -Nur u-boot-2015.01.orig/include/configs/udoo.h u-boot-2015.01/include/conf +#define CONFIG_CMD_FS_GENERIC #define CONFIG_DOS_PARTITION ++/* GRUB support */ ++#define CONFIG_API ++#define CONFIG_SYS_MMC_MAX_DEVICE 1 ++ +#define CONFIG_IDENT_STRING " Parabola GNU/Linux-libre" + +#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S) @@ -321,7 +325,7 @@ diff -Nur u-boot-2015.01.orig/include/configs/udoo.h u-boot-2015.01/include/conf "fi;\0" \ "netargs=setenv bootargs console=${console},${baudrate} " \ "root=/dev/nfs " \ -@@ -161,32 +180,10 @@ +@@ -161,32 +184,10 @@ "else " \ "setenv get_cmd tftp; " \ "fi; " \ @@ -356,7 +360,7 @@ diff -Nur u-boot-2015.01.orig/include/configs/udoo.h u-boot-2015.01/include/conf /* Miscellaneous configurable options */ #define CONFIG_SYS_LONGHELP -@@ -227,6 +224,7 @@ +@@ -227,6 +228,7 @@ #define CONFIG_OF_LIBFDT #define CONFIG_CMD_BOOTZ -- cgit v1.2.3