Message ID | 1390342508-29335-1-git-send-email-trini@ti.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Tue, Jan 21, 2014 at 05:15:06PM -0500, Tom Rini wrote: > Signed-off-by: Tom Rini <trini@ti.com> > > --- > include/configs/am335x_evm.h | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h > index 73a9adb..07c1b76 100644 > --- a/include/configs/am335x_evm.h > +++ b/include/configs/am335x_evm.h > @@ -31,6 +31,12 @@ > /* Always 128 KiB env size */ > #define CONFIG_ENV_SIZE (128 << 10) > > +/* Enhance our eMMC support / experience. */ > +#define CONFIG_CMD_GPT > +#define CONFIG_EFI_PARTITION > +#define CONFIG_PARTITION_UUIDS > +#define CONFIG_CMD_PART > + > #ifdef CONFIG_NAND > #define NANDARGS \ > "mtdids=" MTDIDS_DEFAULT "\0" \ > @@ -64,6 +70,9 @@ > "bootfile=zImage\0" \ > "fdtfile=undefined\0" \ > "console=ttyO0,115200n8\0" \ > + "partitions=" \ > + "uuid_disk=${uuid_gpt_disk};" \ > + "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \ > "optargs=\0" \ > "mmcdev=0\0" \ > "mmcroot=/dev/mmcblk0p2 ro\0" \ > @@ -295,6 +304,8 @@ > #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT) > /* disable host part of MUSB in SPL */ > #undef CONFIG_MUSB_HOST > +/* disable partition UUID support */ > +#undef CONFIG_PARTITION_UUIDS > /* > * Disable CPSW SPL support so we fit within the 101KiB limit. > */ Applied to u-boot-ti/master, thanks!
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 73a9adb..07c1b76 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -31,6 +31,12 @@ /* Always 128 KiB env size */ #define CONFIG_ENV_SIZE (128 << 10) +/* Enhance our eMMC support / experience. */ +#define CONFIG_CMD_GPT +#define CONFIG_EFI_PARTITION +#define CONFIG_PARTITION_UUIDS +#define CONFIG_CMD_PART + #ifdef CONFIG_NAND #define NANDARGS \ "mtdids=" MTDIDS_DEFAULT "\0" \ @@ -64,6 +70,9 @@ "bootfile=zImage\0" \ "fdtfile=undefined\0" \ "console=ttyO0,115200n8\0" \ + "partitions=" \ + "uuid_disk=${uuid_gpt_disk};" \ + "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \ "optargs=\0" \ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 ro\0" \ @@ -295,6 +304,8 @@ #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT) /* disable host part of MUSB in SPL */ #undef CONFIG_MUSB_HOST +/* disable partition UUID support */ +#undef CONFIG_PARTITION_UUIDS /* * Disable CPSW SPL support so we fit within the 101KiB limit. */
Signed-off-by: Tom Rini <trini@ti.com> --- include/configs/am335x_evm.h | 11 +++++++++++ 1 file changed, 11 insertions(+)