[U-Boot] [PATCH v2 5/6] x86: Add CONFIG_LBA48 and remove CONFIG_ATAPI in x86-common.h

Enable CONFIG_LBA48 to support large disks. CONFIG_ATAPI is only needed by cmd_ide.c which is not common for modern x86 targets, hence remove it.
Signed-off-by: Bin Meng bmeng.cn@gmail.com ---
Changes in v2: None
include/configs/x86-common.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 0b61615..3912b39 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -37,6 +37,7 @@ #define CONFIG_SCSI_AHCI #ifdef CONFIG_SCSI_AHCI #define CONFIG_LIBATA +#define CONFIG_LBA48 #define CONFIG_SYS_64BIT_LBA
#define CONFIG_SYS_SCSI_MAX_SCSI_ID 2 @@ -76,10 +77,6 @@ #define CONFIG_SYS_HUSH_PARSER
#define CONFIG_SUPPORT_VFAT -/************************************************************ - * ATAPI support (experimental) - ************************************************************/ -#define CONFIG_ATAPI
/************************************************************ * DISK Partition support

On 15 May 2015 at 19:33, Bin Meng bmeng.cn@gmail.com wrote:
Enable CONFIG_LBA48 to support large disks. CONFIG_ATAPI is only needed by cmd_ide.c which is not common for modern x86 targets, hence remove it.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
Changes in v2: None
include/configs/x86-common.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 0b61615..3912b39 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -37,6 +37,7 @@ #define CONFIG_SCSI_AHCI #ifdef CONFIG_SCSI_AHCI #define CONFIG_LIBATA +#define CONFIG_LBA48 #define CONFIG_SYS_64BIT_LBA
#define CONFIG_SYS_SCSI_MAX_SCSI_ID 2 @@ -76,10 +77,6 @@ #define CONFIG_SYS_HUSH_PARSER
#define CONFIG_SUPPORT_VFAT -/************************************************************
- ATAPI support (experimental)
- ************************************************************/
-#define CONFIG_ATAPI
/************************************************************
- DISK Partition support
-- 1.8.2.1
Acked-by: Simon Glass sjg@chromium.org

On 18 May 2015 at 15:39, Simon Glass sjg@chromium.org wrote:
On 15 May 2015 at 19:33, Bin Meng bmeng.cn@gmail.com wrote:
Enable CONFIG_LBA48 to support large disks. CONFIG_ATAPI is only needed by cmd_ide.c which is not common for modern x86 targets, hence remove it.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
Changes in v2: None
include/configs/x86-common.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 0b61615..3912b39 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -37,6 +37,7 @@ #define CONFIG_SCSI_AHCI #ifdef CONFIG_SCSI_AHCI #define CONFIG_LIBATA +#define CONFIG_LBA48 #define CONFIG_SYS_64BIT_LBA
#define CONFIG_SYS_SCSI_MAX_SCSI_ID 2 @@ -76,10 +77,6 @@ #define CONFIG_SYS_HUSH_PARSER
#define CONFIG_SUPPORT_VFAT -/************************************************************
- ATAPI support (experimental)
- ************************************************************/
-#define CONFIG_ATAPI
/************************************************************
- DISK Partition support
-- 1.8.2.1
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
Simon Glass