Convert CONFIG_FLASH_SPANSION_S29WS_N et al to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 21:42:21 +0000 (16:42 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 22 Dec 2022 15:31:48 +0000 (10:31 -0500)
This converts the following to Kconfig:

   CONFIG_FLASH_SPANSION_S29WS_N
   CONFIG_FLASH_VERIFY
   CONFIG_FSL_FM_10GEC_REGULAR_NOTATION
   CONFIG_FSL_ISBC_KEY_EXT
   CONFIG_FSL_TRUST_ARCH_v1
   CONFIG_FSL_SDHC_V2_3
   CONFIG_MAX_DSP_CPUS
   CONFIG_MIU_2BIT_INTERLEAVED
   CONFIG_SERIAL_BOOT
   CONFIG_SPI_BOOTING
   CONFIG_X86EMU_RAW_IO

Signed-off-by: Tom Rini <trini@konsulko.com>
29 files changed:
README
arch/Kconfig.nxp
arch/arm/include/asm/fsl_secure_boot.h
arch/arm/mach-exynos/Kconfig
arch/powerpc/cpu/mpc85xx/Kconfig
arch/powerpc/include/asm/config_mpc85xx.h
arch/powerpc/include/asm/fsl_secure_boot.h
board/freescale/common/fsl_validate.c
board/google/Kconfig
board/samsung/smdkv310/Kconfig
board/sysam/stmark2/Kconfig
configs/M53017EVB_defconfig
configs/mccmon6_nor_defconfig
configs/mccmon6_sd_defconfig
doc/README.fsl-dpaa [deleted file]
drivers/mmc/Kconfig
drivers/mtd/Kconfig
drivers/net/Kconfig
include/configs/M53017EVB.h
include/configs/conga-qeval20-qa3-e3845.h
include/configs/dfi-bt700.h
include/configs/exynos5-dt-common.h
include/configs/mccmon6.h
include/configs/minnowmax.h
include/configs/smdkv310.h
include/configs/som-db5800-som-6867.h
include/configs/stmark2.h
include/configs/theadorable-x86-common.h
include/configs/x86-chromebook.h

diff --git a/README b/README
index 0583520..b833aca 100644 (file)
--- a/README
+++ b/README
@@ -1477,19 +1477,6 @@ Configuration Settings:
 - CONFIG_SYS_FLASH_USE_BUFFER_WRITE
                Use buffered writes to flash.
 
 - CONFIG_SYS_FLASH_USE_BUFFER_WRITE
                Use buffered writes to flash.
 
-- CONFIG_FLASH_SPANSION_S29WS_N
-               s29ws-n MirrorBit flash has non-standard addresses for buffered
-               write commands.
-
-- CONFIG_FLASH_VERIFY
-               If defined, the content of the flash (destination) is compared
-               against the source after the write operation. An error message
-               will be printed when the contents are not identical.
-               Please note that this option is useless in nearly all cases,
-               since such flash programming errors usually are detected earlier
-               while unprotecting/erasing/programming. Please only enable
-               this option if you really know what you are doing.
-
 - CONFIG_ENV_FLAGS_LIST_DEFAULT
 - CONFIG_ENV_FLAGS_LIST_STATIC
        Enable validation of the values given to environment variables when
 - CONFIG_ENV_FLAGS_LIST_DEFAULT
 - CONFIG_ENV_FLAGS_LIST_STATIC
        Enable validation of the values given to environment variables when
index 805fe93..ad61dab 100644 (file)
@@ -1,5 +1,10 @@
+config FSL_TRUST_ARCH_v1
+       bool
+
 config NXP_ESBC
        bool "NXP ESBC (secure boot) functionality"
 config NXP_ESBC
        bool "NXP ESBC (secure boot) functionality"
+       select FSL_TRUST_ARCH_v1 if ARCH_P3041 || ARCH_P4080 || \
+               ARCH_P5040 || ARCH_P2041
        help
          Enable Freescale Secure Boot feature. Normally selected by defconfig.
          If unsure, do not change.
        help
          Enable Freescale Secure Boot feature. Normally selected by defconfig.
          If unsure, do not change.
@@ -10,6 +15,7 @@ menu "Chain of trust / secure boot options"
 config CHAIN_OF_TRUST
        select FSL_CAAM
        select ARCH_MISC_INIT
 config CHAIN_OF_TRUST
        select FSL_CAAM
        select ARCH_MISC_INIT
+       select FSL_ISBC_KEY_EXT if (ARM || FSL_CORENET) && !SYS_RAMBOOT
        select FSL_SEC_MON
        select SPL_BOARD_INIT if (ARM && SPL)
        select SPL_HASH if (ARM && SPL)
        select FSL_SEC_MON
        select SPL_BOARD_INIT if (ARM && SPL)
        select SPL_HASH if (ARM && SPL)
@@ -41,6 +47,17 @@ config ESBC_ADDR_64BIT
        help
          For Layerscape based platforms, ESBC image Address in Header is 64bit.
 
        help
          For Layerscape based platforms, ESBC image Address in Header is 64bit.
 
+config FSL_ISBC_KEY_EXT
+       bool
+       help
+         The key used for verification of next level images is picked up from
+         an Extension Table which has been verified by the ISBC (Internal
+         Secure boot Code) in boot ROM of the SoC.  The feature is only
+         applicable in case of NOR boot and is not applicable in case of
+         RAMBOOT (NAND, SD, SPI).  For Layerscape, this feature is available
+         for all device if IE Table is copied to XIP memory Also, for
+         Layerscape, ISBC doesn't verify this table.
+
 config SYS_FSL_SFP_BE
        def_bool y
        depends on PPC || FSL_LSCH2 || ARCH_LS1021A
 config SYS_FSL_SFP_BE
        def_bool y
        depends on PPC || FSL_LSCH2 || ARCH_LS1021A
index a4f4961..6a9d198 100644 (file)
@@ -9,21 +9,6 @@
 
 #ifdef CONFIG_CHAIN_OF_TRUST
 #ifndef CONFIG_SPL_BUILD
 
 #ifdef CONFIG_CHAIN_OF_TRUST
 #ifndef CONFIG_SPL_BUILD
-#ifndef CONFIG_SYS_RAMBOOT
-/* The key used for verification of next level images
- * is picked up from an Extension Table which has
- * been verified by the ISBC (Internal Secure boot Code)
- * in boot ROM of the SoC.
- * The feature is only applicable in case of NOR boot and is
- * not applicable in case of RAMBOOT (NAND, SD, SPI).
- * For LS, this feature is available for all device if IE Table
- * is copied to XIP memory
- * Also, for LS, ISBC doesn't verify this table.
- */
-#define CONFIG_FSL_ISBC_KEY_EXT
-
-#endif
-
 #ifdef CONFIG_FSL_LS_PPA
 /* Define the key hash here if SRK used for signing PPA image is
  * different from SRK hash put in SFP used for U-Boot.
 #ifdef CONFIG_FSL_LS_PPA
 /* Define the key hash here if SRK used for signing PPA image is
  * different from SRK hash put in SFP used for U-Boot.
index 383af83..8f3aee0 100644 (file)
@@ -4,6 +4,9 @@ config BOARD_COMMON
        def_bool y
        depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
 
        def_bool y
        depends on !TARGET_SMDKV310 && !TARGET_ARNDALE
 
+config SPI_BOOTING
+       bool
+
 config USB_BOOTING
        bool
 
 config USB_BOOTING
        bool
 
@@ -27,6 +30,7 @@ config ARCH_EXYNOS5
        select BOARD_EARLY_INIT_F
        select CPU_V7A
        select SHA_HW_ACCEL
        select BOARD_EARLY_INIT_F
        select CPU_V7A
        select SHA_HW_ACCEL
+       select SPI_BOOTING if EXYNOS5_DT
        select USB_BOOTING
        imply CMD_HASH
        imply CRC32_VERIFY
        select USB_BOOTING
        imply CMD_HASH
        imply CRC32_VERIFY
index f236156..721dafc 100644 (file)
@@ -1324,6 +1324,11 @@ config SYS_ULB_CLK
 config SYS_ETVPE_CLK
        int
        default 1
 config SYS_ETVPE_CLK
        int
        default 1
+
+config MAX_DSP_CPUS
+       int
+       default 12 if ARCH_B4860
+       default 2 if ARCH_B4420
 endif
 
 config SYS_L2_SIZE_256KB
 endif
 
 config SYS_L2_SIZE_256KB
index 1b5b494..edaf8ba 100644 (file)
@@ -23,7 +23,6 @@
 #define CFG_SYS_FSL_SRIO_MSG_UNIT_NUM  2
 
 #elif defined(CONFIG_ARCH_P1010)
 #define CFG_SYS_FSL_SRIO_MSG_UNIT_NUM  2
 
 #elif defined(CONFIG_ARCH_P1010)
-#define CONFIG_FSL_SDHC_V2_3
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  4
 
 #elif defined(CONFIG_ARCH_P1021)
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  4
 
 #elif defined(CONFIG_ARCH_P1021)
 #define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
 
 #elif defined(CONFIG_ARCH_BSC9131)
 #define CFG_SYS_FSL_CORENET_SNOOPVEC_COREONLY 0xf0000000
 
 #elif defined(CONFIG_ARCH_BSC9131)
-#define CONFIG_FSL_SDHC_V2_3
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  3
 
 #elif defined(CONFIG_ARCH_BSC9132)
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  3
 
 #elif defined(CONFIG_ARCH_BSC9132)
-#define CONFIG_FSL_SDHC_V2_3
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  3
 
 #elif defined(CONFIG_ARCH_T4240)
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  3
 
 #elif defined(CONFIG_ARCH_T4240)
 #define CFG_SYS_FM_MURAM_SIZE  0x60000
 
 #ifdef CONFIG_ARCH_B4860
 #define CFG_SYS_FM_MURAM_SIZE  0x60000
 
 #ifdef CONFIG_ARCH_B4860
-#define CONFIG_MAX_DSP_CPUS            12
 #define CONFIG_NUM_DSP_CPUS            6
 #define CFG_SYS_FSL_CLUSTER_CLOCKS     { 1, 4, 4, 4 }
 #define CFG_SYS_NUM_FM1_DTSEC  6
 #define CONFIG_NUM_DSP_CPUS            6
 #define CFG_SYS_FSL_CLUSTER_CLOCKS     { 1, 4, 4, 4 }
 #define CFG_SYS_NUM_FM1_DTSEC  6
 #define CFG_SYS_FSL_SRIO_OB_WIN_NUM    9
 #define CFG_SYS_FSL_SRIO_IB_WIN_NUM    5
 #else
 #define CFG_SYS_FSL_SRIO_OB_WIN_NUM    9
 #define CFG_SYS_FSL_SRIO_IB_WIN_NUM    5
 #else
-#define CONFIG_MAX_DSP_CPUS            2
 #define CFG_SYS_FSL_CLUSTER_CLOCKS     { 1, 4 }
 #define CFG_SYS_NUM_FM1_DTSEC  4
 #define CFG_SYS_NUM_FM1_10GEC  0
 #define CFG_SYS_FSL_CLUSTER_CLOCKS     { 1, 4 }
 #define CFG_SYS_NUM_FM1_DTSEC  4
 #define CFG_SYS_NUM_FM1_10GEC  0
 #define CFG_SYS_NUM_FMAN               1
 #define CFG_SYS_NUM_FM1_DTSEC  4
 #define CFG_SYS_NUM_FM1_10GEC  1
 #define CFG_SYS_NUM_FMAN               1
 #define CFG_SYS_NUM_FM1_DTSEC  4
 #define CFG_SYS_NUM_FM1_10GEC  1
-#define CONFIG_FSL_FM_10GEC_REGULAR_NOTATION
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  8
 #define CFG_SYS_FM1_CLK                0
 #define CONFIG_QBMAN_CLK_DIV           1
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  8
 #define CFG_SYS_FM1_CLK                0
 #define CONFIG_QBMAN_CLK_DIV           1
 
 
 #elif defined(CONFIG_ARCH_C29X)
 
 
 #elif defined(CONFIG_ARCH_C29X)
-#define CONFIG_FSL_SDHC_V2_3
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  8
 #define CFG_SYS_FSL_SEC_IDX_OFFSET     0x20000
 
 #define CONFIG_SYS_FSL_IFC_BANK_COUNT  8
 #define CFG_SYS_FSL_SEC_IDX_OFFSET     0x20000
 
index e8b2680..09f37ec 100644 (file)
 #define CFG_SYS_INIT_L3_ADDR           0xbff00000
 #endif
 #endif
 #define CFG_SYS_INIT_L3_ADDR           0xbff00000
 #endif
 #endif
-
-#if defined(CONFIG_ARCH_P3041) ||      \
-       defined(CONFIG_ARCH_P4080) ||   \
-       defined(CONFIG_ARCH_P5040) ||   \
-       defined(CONFIG_ARCH_P2041)
-       #define CONFIG_FSL_TRUST_ARCH_v1
-#endif
-
-#if defined(CONFIG_FSL_CORENET) && !defined(CONFIG_SYS_RAMBOOT)
-/* The key used for verification of next level images
- * is picked up from an Extension Table which has
- * been verified by the ISBC (Internal Secure boot Code)
- * in boot ROM of the SoC.
- * The feature is only applicable in case of NOR boot and is
- * not applicable in case of RAMBOOT (NAND, SD, SPI).
- */
-#define CONFIG_FSL_ISBC_KEY_EXT
-#endif
 #endif /* #ifdef CONFIG_NXP_ESBC */
 
 #ifdef CONFIG_CHAIN_OF_TRUST
 #endif /* #ifdef CONFIG_NXP_ESBC */
 
 #ifdef CONFIG_CHAIN_OF_TRUST
index 285ed9a..bfe6357 100644 (file)
@@ -29,7 +29,7 @@
 #define CHECK_KEY_LEN(key_len) (((key_len) == 2 * KEY_SIZE_BYTES / 4) || \
                                 ((key_len) == 2 * KEY_SIZE_BYTES / 2) || \
                                 ((key_len) == 2 * KEY_SIZE_BYTES))
 #define CHECK_KEY_LEN(key_len) (((key_len) == 2 * KEY_SIZE_BYTES / 4) || \
                                 ((key_len) == 2 * KEY_SIZE_BYTES / 2) || \
                                 ((key_len) == 2 * KEY_SIZE_BYTES))
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
 /* Global data structure */
 static struct fsl_secboot_glb glb;
 #endif
 /* Global data structure */
 static struct fsl_secboot_glb glb;
 #endif
@@ -63,7 +63,7 @@ self:
        goto self;
 }
 
        goto self;
 }
 
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
 static u32 check_ie(struct fsl_secboot_img_priv *img)
 {
        if (img->hdr.ie_flag & IE_FLAG_MASK)
 static u32 check_ie(struct fsl_secboot_img_priv *img)
 {
        if (img->hdr.ie_flag & IE_FLAG_MASK)
@@ -188,7 +188,7 @@ static u32 check_srk(struct fsl_secboot_img_priv *img)
 {
 #ifdef CONFIG_ESBC_HDR_LS
        /* In LS, No SRK Flag as SRK is always present if IE not present*/
 {
 #ifdef CONFIG_ESBC_HDR_LS
        /* In LS, No SRK Flag as SRK is always present if IE not present*/
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
        return !check_ie(img);
 #endif
        return 1;
        return !check_ie(img);
 #endif
        return 1;
@@ -278,7 +278,7 @@ static u32 read_validate_single_key(struct fsl_secboot_img_priv *img)
 }
 #endif /* CONFIG_ESBC_HDR_LS */
 
 }
 #endif /* CONFIG_ESBC_HDR_LS */
 
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
 
 static void install_ie_tbl(uintptr_t ie_tbl_addr,
                struct fsl_secboot_img_priv *img)
 
 static void install_ie_tbl(uintptr_t ie_tbl_addr,
                struct fsl_secboot_img_priv *img)
@@ -434,7 +434,7 @@ void fsl_secboot_handle_error(int error)
        case ERROR_ESBC_CLIENT_HEADER_INVALID_KEY_NUM:
        case ERROR_ESBC_CLIENT_HEADER_INV_SRK_ENTRY_KEYLEN:
 #endif
        case ERROR_ESBC_CLIENT_HEADER_INVALID_KEY_NUM:
        case ERROR_ESBC_CLIENT_HEADER_INV_SRK_ENTRY_KEYLEN:
 #endif
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
        /*@fallthrough@*/
        case ERROR_ESBC_CLIENT_HEADER_IE_KEY_REVOKED:
        case ERROR_ESBC_CLIENT_HEADER_INVALID_IE_NUM_ENTRY:
        /*@fallthrough@*/
        case ERROR_ESBC_CLIENT_HEADER_IE_KEY_REVOKED:
        case ERROR_ESBC_CLIENT_HEADER_INVALID_IE_NUM_ENTRY:
@@ -571,7 +571,7 @@ static int calc_esbchdr_esbc_hash(struct fsl_secboot_img_priv *img)
                key_hash = 1;
        }
 #endif
                key_hash = 1;
        }
 #endif
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
        if (!key_hash && check_ie(img))
                key_hash = 1;
 #endif
        if (!key_hash && check_ie(img))
                key_hash = 1;
 #endif
@@ -705,7 +705,7 @@ static int read_validate_esbc_client_header(struct fsl_secboot_img_priv *img)
        }
 #endif
 
        }
 #endif
 
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
        if (!key_found && check_ie(img)) {
                ret = read_validate_ie_tbl(img);
                if (ret != 0)
        if (!key_found && check_ie(img)) {
                ret = read_validate_ie_tbl(img);
                if (ret != 0)
@@ -851,7 +851,7 @@ static int secboot_init(struct fsl_secboot_img_priv **img_ptr)
                return -ENOMEM;
        memset(img, 0, sizeof(struct fsl_secboot_img_priv));
 
                return -ENOMEM;
        memset(img, 0, sizeof(struct fsl_secboot_img_priv));
 
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
        if (glb.ie_addr)
                img->ie_addr = glb.ie_addr;
 #endif
        if (glb.ie_addr)
                img->ie_addr = glb.ie_addr;
 #endif
@@ -952,7 +952,7 @@ int fsl_secboot_validate(uintptr_t haddr, char *arg_hash_str,
        else
                ret = memcmp(srk_hash, img->img_key_hash, SHA256_BYTES);
 
        else
                ret = memcmp(srk_hash, img->img_key_hash, SHA256_BYTES);
 
-#if defined(CONFIG_FSL_ISBC_KEY_EXT)
+#if CONFIG_IS_ENABLED(FSL_ISBC_KEY_EXT)
        if (!hash_cmd && check_ie(img))
                ret = 0;
 #endif
        if (!hash_cmd && check_ie(img))
                ret = 0;
 #endif
index c57e518..0474b4e 100644 (file)
@@ -6,6 +6,10 @@ if VENDOR_GOOGLE
 
 config BIOSEMU
        bool
 
 config BIOSEMU
        bool
+       select X86EMU_RAW_IO
+
+config X86EMU_RAW_IO
+       bool
 
 choice
        prompt "Mainboard model"
 
 choice
        prompt "Mainboard model"
index a6fd657..cf5ac17 100644 (file)
@@ -1,5 +1,8 @@
 if TARGET_SMDKV310
 
 if TARGET_SMDKV310
 
+config MIU_2BIT_INTERLEAVED
+       def_bool y
+
 config SYS_BOARD
        default "smdkv310"
 
 config SYS_BOARD
        default "smdkv310"
 
index 49d0274..b259505 100644 (file)
@@ -6,6 +6,10 @@ config CF_SBF
 config EXTRA_CLOCK
        def_bool y
 
 config EXTRA_CLOCK
        def_bool y
 
+config SERIAL_BOOT
+       def_bool y
+       depends on CF_SBF
+
 config SYS_INPUT_CLKSRC
        hex
        default 30000000
 config SYS_INPUT_CLKSRC
        hex
        default 30000000
index 8158cd4..b6783ab 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
 CONFIG_FLASH_SHOW_PROGRESS=0
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
 CONFIG_FLASH_SHOW_PROGRESS=0
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
+CONFIG_FLASH_SPANSION_S29WS_N=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_SYS_MAX_FLASH_SECT=137
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_SYS_MAX_FLASH_SECT=137
index 5f8a287..1e6cec0 100644 (file)
@@ -69,6 +69,7 @@ CONFIG_SYS_FLASH_EMPTY_INFO=y
 CONFIG_FLASH_CFI_MTD=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_FLASH_CFI_MTD=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
+CONFIG_FLASH_VERIFY=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=25000000
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=25000000
 CONFIG_SPI_FLASH_SPANSION=y
index 651eef5..20b6e03 100644 (file)
@@ -67,6 +67,7 @@ CONFIG_SYS_FLASH_EMPTY_INFO=y
 CONFIG_FLASH_CFI_MTD=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_FLASH_CFI_MTD=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
+CONFIG_FLASH_VERIFY=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=25000000
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SF_DEFAULT_SPEED=25000000
 CONFIG_SPI_FLASH_SPANSION=y
diff --git a/doc/README.fsl-dpaa b/doc/README.fsl-dpaa
deleted file mode 100644 (file)
index 3ef5eeb..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-This file documents Freescale DPAA-specific options.
-
-FMan (Frame Manager)
-  - CONFIG_FSL_FM_10GEC_REGULAR_NOTATION
-       on SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and MAC as below:
-               10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2
-       on SoCs T1024, etc, the notation between 10GEC and MAC as below:
-               10GEC1->MAC1, 10GEC2->MAC2
-       so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to identify the new SoCs on
-       which 10GEC enumeration is consistent with MAC enumeration.
index 698c91c..5a5a31c 100644 (file)
@@ -825,8 +825,13 @@ config MMC_MTK
 
 endif
 
 
 endif
 
+config FSL_SDHC_V2_3
+       bool
+
 config FSL_ESDHC
        bool "Freescale/NXP eSDHC controller support"
 config FSL_ESDHC
        bool "Freescale/NXP eSDHC controller support"
+       select FSL_SDHC_V2_3 if ARCH_P1010 || ARCH_BSC9131 || ARCH_BSC9132 \
+               || ARCH_C29X
        help
          This selects support for the eSDHC (Enhanced Secure Digital Host
          Controller) found on numerous Freescale/NXP SoCs.
        help
          This selects support for the eSDHC (Enhanced Secure Digital Host
          Controller) found on numerous Freescale/NXP SoCs.
index 04ae456..af45ef0 100644 (file)
@@ -119,6 +119,13 @@ config SYS_FLASH_EMPTY_INFO
        bool "Enable displaying empty sectors in flash info"
        depends on FLASH_CFI_DRIVER
 
        bool "Enable displaying empty sectors in flash info"
        depends on FLASH_CFI_DRIVER
 
+config FLASH_SPANSION_S29WS_N
+       bool "Non-standard s29ws-n MirrorBit flash"
+       depends on FLASH_CFI_DRIVER
+       help
+         Enable this if the s29ws-n MirrorBit flash has non-standard addresses
+         for buffered write commands.
+
 config FLASH_CFI_MTD
        bool "Enable CFI MTD driver"
        depends on FLASH_CFI_DRIVER
 config FLASH_CFI_MTD
        bool "Enable CFI MTD driver"
        depends on FLASH_CFI_DRIVER
@@ -156,6 +163,18 @@ config SYS_FLASH_CHECKSUM
          If the variable flashchecksum is set in the environment, perform a CRC
          of the flash and print the value to console.
 
          If the variable flashchecksum is set in the environment, perform a CRC
          of the flash and print the value to console.
 
+config FLASH_VERIFY
+       bool "Compare writes to NOR flash with source location"
+       depends on MTD_NOR_FLASH
+       help
+         If enabled, the content of the flash (destination) is compared
+         against the source after the write operation. An error message will
+         be printed when the contents are not identical.  Please note that
+         this option is useless in nearly all cases, since such flash
+         programming errors usually are detected earlier while
+         unprotecting/erasing/programming. Please only enable this option if
+         you really know what you are doing.
+
 config ALTERA_QSPI
        bool "Altera Generic Quad SPI Controller"
        depends on DM_MTD
 config ALTERA_QSPI
        bool "Altera Generic Quad SPI Controller"
        depends on DM_MTD
index 0607f95..53fb69f 100644 (file)
@@ -372,6 +372,7 @@ config FMAN_ENET
        select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \
                ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \
                ARCH_T2080 || ARCH_T4240
        select SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \
                ARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \
                ARCH_T2080 || ARCH_T4240
+       select FSL_FM_10GEC_REGULAR_NOTATION if ARCH_T1024
        help
          This driver support the Freescale FMan Ethernet controller
 
        help
          This driver support the Freescale FMan Ethernet controller
 
@@ -391,6 +392,18 @@ config SYS_FMAN_V3
        help
          SoC has FMan v3 with mEMAC
 
        help
          SoC has FMan v3 with mEMAC
 
+config FSL_FM_10GEC_REGULAR_NOTATION
+       bool
+       help
+         On SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and
+         MAC as below:
+               10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2
+         While on SoCs T1024, etc, the notation between 10GEC and MAC as below:
+               10GEC1->MAC1, 10GEC2->MAC2
+         so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to identify the
+         new SoCs on which 10GEC enumeration is consistent with MAC
+         enumeration.
+
 config FTMAC100
        bool "Ftmac100 Ethernet Support"
        help
 config FTMAC100
        bool "Ftmac100 Ethernet Support"
        help
index 42b74ae..439ed93 100644 (file)
@@ -93,7 +93,6 @@
  * FLASH organization
  */
 #ifdef CONFIG_SYS_FLASH_CFI
  * FLASH organization
  */
 #ifdef CONFIG_SYS_FLASH_CFI
-#      define CONFIG_FLASH_SPANSION_S29WS_N    1
 #      define CFG_SYS_FLASH_SIZE               0x1000000       /* Max size that the board might have */
 #endif
 
 #      define CFG_SYS_FLASH_SIZE               0x1000000       /* Max size that the board might have */
 #endif
 
index 823d37f..e9b85b4 100644 (file)
@@ -17,7 +17,6 @@
                                        "stderr=serial\0"
 
 #define VIDEO_IO_OFFSET                                0
                                        "stderr=serial\0"
 
 #define VIDEO_IO_OFFSET                                0
-#define CONFIG_X86EMU_RAW_IO
 
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #define CONFIG_EXTRA_ENV_SETTINGS                              \
 
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #define CONFIG_EXTRA_ENV_SETTINGS                              \
index 52f2d50..154c4f4 100644 (file)
@@ -21,7 +21,6 @@
                                        "stderr=serial\0"
 
 #define VIDEO_IO_OFFSET                                0
                                        "stderr=serial\0"
 
 #define VIDEO_IO_OFFSET                                0
-#define CONFIG_X86EMU_RAW_IO
 
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #define CONFIG_EXTRA_ENV_SETTINGS                              \
 
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #define CONFIG_EXTRA_ENV_SETTINGS                              \
index c9e0c13..8f2dac6 100644 (file)
@@ -17,6 +17,5 @@
 
 #define CFG_SYS_SPI_BASE       0x12D30000
 #define FLASH_SIZE             (4 << 20)
 
 #define CFG_SYS_SPI_BASE       0x12D30000
 #define FLASH_SIZE             (4 << 20)
-#define CONFIG_SPI_BOOTING
 
 #endif
 
 #endif
index 7c401a2..a7f5507 100644 (file)
@@ -25,7 +25,6 @@
 
 /* NOR 16-bit mode */
 #define CFG_SYS_FLASH_BASE           WEIM_ARB_BASE_ADDR
 
 /* NOR 16-bit mode */
 #define CFG_SYS_FLASH_BASE           WEIM_ARB_BASE_ADDR
-#define CONFIG_FLASH_VERIFY
 
 /* NOR Flash MTD */
 #define CFG_SYS_FLASH_BANKS_LIST       { (CFG_SYS_FLASH_BASE) }
 
 /* NOR Flash MTD */
 #define CFG_SYS_FLASH_BANKS_LIST       { (CFG_SYS_FLASH_BASE) }
index 50c52f8..6c15c72 100644 (file)
@@ -18,6 +18,5 @@
                                        "usb_pgood_delay=40\0"
 
 #define VIDEO_IO_OFFSET                                0
                                        "usb_pgood_delay=40\0"
 
 #define VIDEO_IO_OFFSET                                0
-#define CONFIG_X86EMU_RAW_IO
 
 #endif /* __CONFIG_H */
 
 #endif /* __CONFIG_H */
index af0c820..601c16e 100644 (file)
@@ -34,9 +34,6 @@
 
 /* FLASH and environment organization */
 
 
 /* FLASH and environment organization */
 
-/* MIU (Memory Interleaving Unit) */
-#define CONFIG_MIU_2BIT_INTERLEAVED
-
 #define RESERVE_BLOCK_SIZE             (512)
 #define BL1_SIZE                       (16 << 10) /*16 K reserved for BL1*/
 
 #define RESERVE_BLOCK_SIZE             (512)
 #define BL1_SIZE                       (16 << 10) /*16 K reserved for BL1*/
 
index ee038d8..f097092 100644 (file)
@@ -17,6 +17,5 @@
                                        "stderr=serial,vidconsole\0"
 
 #define VIDEO_IO_OFFSET                                0
                                        "stderr=serial,vidconsole\0"
 
 #define VIDEO_IO_OFFSET                                0
-#define CONFIG_X86EMU_RAW_IO
 
 #endif /* __CONFIG_H */
 
 #endif /* __CONFIG_H */
index faff8d6..f81cef0 100644 (file)
 
 #define CFG_SYS_DRAM_TEST
 
 
 #define CFG_SYS_DRAM_TEST
 
-#if defined(CONFIG_CF_SBF)
-#define CONFIG_SERIAL_BOOT
-#endif
-
 /* Reserve 256 kB for Monitor */
 
 /*
 /* Reserve 256 kB for Monitor */
 
 /*
index af0a095..b57b1be 100644 (file)
@@ -16,7 +16,6 @@
                                        "stderr=serial\0"
 
 #define VIDEO_IO_OFFSET                                0
                                        "stderr=serial\0"
 
 #define VIDEO_IO_OFFSET                                0
-#define CONFIG_X86EMU_RAW_IO
 
 /* Environment settings */
 
 
 /* Environment settings */
 
index ec87edd..9df3bfd 100644 (file)
@@ -11,7 +11,6 @@
 #define CONFIG_X86_REFCODE_RUN_ADDR            0
 
 #define VIDEO_IO_OFFSET                                0
 #define CONFIG_X86_REFCODE_RUN_ADDR            0
 
 #define VIDEO_IO_OFFSET                                0
-#define CONFIG_X86EMU_RAW_IO
 
 #define CONFIG_STD_DEVICES_SETTINGS    "stdin=usbkbd,i8042-kbd,serial\0" \
                                        "stdout=vidconsole,serial\0" \
 
 #define CONFIG_STD_DEVICES_SETTINGS    "stdin=usbkbd,i8042-kbd,serial\0" \
                                        "stdout=vidconsole,serial\0" \