mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
am335x_evm: Enable GPT commands
Signed-off-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
bc97f48915
commit
01d92b0472
1 changed files with 12 additions and 0 deletions
|
@ -32,6 +32,12 @@
|
||||||
/* Always 128 KiB env size */
|
/* Always 128 KiB env size */
|
||||||
#define CONFIG_ENV_SIZE (128 << 10)
|
#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
|
#ifdef CONFIG_NAND
|
||||||
#define NANDARGS \
|
#define NANDARGS \
|
||||||
"mtdids=" MTDIDS_DEFAULT "\0" \
|
"mtdids=" MTDIDS_DEFAULT "\0" \
|
||||||
|
@ -65,6 +71,9 @@
|
||||||
"bootfile=zImage\0" \
|
"bootfile=zImage\0" \
|
||||||
"fdtfile=undefined\0" \
|
"fdtfile=undefined\0" \
|
||||||
"console=ttyO0,115200n8\0" \
|
"console=ttyO0,115200n8\0" \
|
||||||
|
"partitions=" \
|
||||||
|
"uuid_disk=${uuid_gpt_disk};" \
|
||||||
|
"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
|
||||||
"optargs=\0" \
|
"optargs=\0" \
|
||||||
"mmcdev=0\0" \
|
"mmcdev=0\0" \
|
||||||
"mmcroot=/dev/mmcblk0p2 ro\0" \
|
"mmcroot=/dev/mmcblk0p2 ro\0" \
|
||||||
|
@ -296,6 +305,9 @@
|
||||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
|
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_USBETH_SUPPORT)
|
||||||
/* disable host part of MUSB in SPL */
|
/* disable host part of MUSB in SPL */
|
||||||
#undef CONFIG_MUSB_HOST
|
#undef CONFIG_MUSB_HOST
|
||||||
|
/* disable EFI partitions and partition UUID support */
|
||||||
|
#undef CONFIG_PARTITION_UUIDS
|
||||||
|
#undef CONFIG_EFI_PARTITION
|
||||||
/*
|
/*
|
||||||
* Disable CPSW SPL support so we fit within the 101KiB limit.
|
* Disable CPSW SPL support so we fit within the 101KiB limit.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue