mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
arm: layerscape: Enable UUID & GPT partition for NXP's ARM SoC
Enable UUID and GPT partition support for NXP's ARM based SoCs i.e. LS1012A, LS1021A, LS1043A, LS1046A and LS2080A. Also enable DOS partition for LS1012AFRDM boards. Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
57dfe200a6
commit
9e0bb4c1d9
12 changed files with 44 additions and 0 deletions
|
@ -42,6 +42,11 @@
|
|||
#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
|
||||
#endif
|
||||
|
||||
#define CONFIG_DOS_PARTITION
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
#define CONFIG_CMD_MEMINFO
|
||||
#define CONFIG_CMD_MEMTEST
|
||||
#define CONFIG_SYS_MEMTEST_START 0x80000000
|
||||
|
|
|
@ -153,6 +153,10 @@
|
|||
#define CONFIG_SYS_SCSI_MAX_LUN 1
|
||||
#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
|
||||
CONFIG_SYS_SCSI_MAX_LUN)
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
#define CONFIG_PCIE1 /* PCIE controller 1 */
|
||||
|
||||
#define CONFIG_NET_MULTI
|
||||
|
|
|
@ -66,6 +66,10 @@
|
|||
#define CONFIG_SYS_SCSI_MAX_LUN 1
|
||||
#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
|
||||
CONFIG_SYS_SCSI_MAX_LUN)
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
#define CONFIG_PCIE1 /* PCIE controller 1 */
|
||||
|
||||
#define CONFIG_NET_MULTI
|
||||
|
|
|
@ -179,6 +179,9 @@
|
|||
|
||||
#define CONFIG_CMD_FAT
|
||||
#define CONFIG_DOS_PARTITION
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
/* SPI */
|
||||
#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
|
||||
|
|
|
@ -397,6 +397,9 @@ unsigned long get_board_ddr_clk(void);
|
|||
#define CONFIG_GENERIC_MMC
|
||||
|
||||
#define CONFIG_DOS_PARTITION
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
/* SPI */
|
||||
#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
|
||||
|
|
|
@ -298,6 +298,9 @@
|
|||
#define CONFIG_GENERIC_MMC
|
||||
|
||||
#define CONFIG_DOS_PARTITION
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
/* SPI */
|
||||
#if defined(CONFIG_QSPI_BOOT) || defined(CONFIG_SD_BOOT_QSPI)
|
||||
|
|
|
@ -100,6 +100,10 @@ unsigned long get_board_ddr_clk(void);
|
|||
#define CONFIG_DOS_PARTITION
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
/* EEPROM */
|
||||
#define CONFIG_ID_EEPROM
|
||||
#define CONFIG_SYS_I2C_EEPROM_NXID
|
||||
|
|
|
@ -310,6 +310,10 @@
|
|||
#define SCSI_DEV_ID 0x9170
|
||||
#define CONFIG_SCSI_DEV_LIST {SCSI_VEND_ID, SCSI_DEV_ID}
|
||||
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#endif /* __LS1043ARDB_H__ */
|
||||
|
|
|
@ -143,6 +143,10 @@ unsigned long get_board_ddr_clk(void);
|
|||
#define CONFIG_DOS_PARTITION
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
/* EEPROM */
|
||||
#define CONFIG_ID_EEPROM
|
||||
#define CONFIG_SYS_I2C_EEPROM_NXID
|
||||
|
|
|
@ -237,6 +237,10 @@
|
|||
#define CONFIG_SYS_SCSI_MAX_LUN 1
|
||||
#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
|
||||
CONFIG_SYS_SCSI_MAX_LUN)
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
#define CONFIG_BOOTCOMMAND "sf probe 0:0;sf read $kernel_load" \
|
||||
"$kernel_start $kernel_size;" \
|
||||
"bootm $kernel_load"
|
||||
|
|
|
@ -63,6 +63,9 @@ unsigned long get_board_ddr_clk(void);
|
|||
#define CONFIG_SYS_SCSI_MAX_LUN 1
|
||||
#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
|
||||
CONFIG_SYS_SCSI_MAX_LUN)
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
/* undefined CONFIG_FSL_DDR_SYNC_REFRESH for simulator */
|
||||
|
||||
|
|
|
@ -71,6 +71,9 @@ unsigned long get_board_sys_clk(void);
|
|||
#define CONFIG_SYS_SCSI_MAX_LUN 1
|
||||
#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
|
||||
CONFIG_SYS_SCSI_MAX_LUN)
|
||||
#define CONFIG_PARTITION_UUIDS
|
||||
#define CONFIG_EFI_PARTITION
|
||||
#define CONFIG_CMD_GPT
|
||||
|
||||
/* undefined CONFIG_FSL_DDR_SYNC_REFRESH for simulator */
|
||||
|
||||
|
|
Loading…
Reference in a new issue