configs: lx2160a: Add default config for lx2160a using StMM in OP-TEE
[oweals/u-boot.git] / board / keymile / Kconfig
index acaa9289f769fe3671dfafca36cf2266487bb014..e20c01743636e44dd3355afae00c1d4ec4b50acb 100644 (file)
@@ -14,6 +14,7 @@ menu "KM Board Setup"
 config KM_PNVRAM
        hex "Pseudo RAM"
        default 0x80000
+       depends on !ARCH_SOCFPGA
        help
          Start address of the pseudo non-volatile RAM for application.
 
@@ -21,36 +22,39 @@ config KM_PHRAM
        hex "Physical RAM"
        default 0x17F000 if ARM
        default 0x100000 if PPC
+       depends on !ARCH_SOCFPGA
        help
          Start address of the physical RAM, which is the mounted /var folder.
 
 config KM_RESERVED_PRAM
        hex "Reserved RAM"
-       default 0x801000 if KIRKWOOD
+       default 0x801000 if ARCH_KIRKWOOD
        default 0x0 if MPC83xx
        default 0x1000 if MPC85xx
+       depends on !ARCH_SOCFPGA
        help
          Reserved physical RAM area at the end of memory for special purposes.
 
 config KM_CRAMFS_ADDR
        hex "CRAMFS Address"
-       default 0x2400000 if KIRKWOOD
+       default 0x2400000 if ARCH_KIRKWOOD
        default 0xC00000 if MPC83xx
        default 0x2000000 if MPC85xx
+       depends on !ARCH_SOCFPGA
        help
          Start address of the CRAMFS containing the Linux kernel.
 
 config KM_KERNEL_ADDR
        hex "Kernel Load Address"
-       default 0x2000000 if KIRKWOOD
+       default 0x2000000 if ARCH_KIRKWOOD
        default 0x400000 if MPC83xx
-       default 0x1000000 if MPC85xx
+       default 0x1000000 if MPC85xx || ARCH_SOCFPGA
        help
          Address where to load Linux kernel in RAM.
 
 config KM_FDT_ADDR
        hex "FDT Load Address"
-       default 0x23E0000 if KIRKWOOD
+       default 0x23E0000 if ARCH_KIRKWOOD || ARCH_SOCFPGA
        default 0xB80000 if MPC83xx
        default 0x1F80000 if MPC85xx
        help
@@ -62,15 +66,21 @@ config KM_CONSOLE_TTY
        help
          TTY console to use on board.
 
+config KM_DEF_NETDEV
+       string "Default Netdevice"
+       default "eth0"
+       help
+         Default netdevice for debug interface
+
 config KM_COMMON_ETH_INIT
        bool "Common Ethernet Initialization"
-       default y if KIRKWOOD || MPC83xx
-       default n if MPC85xx
+       default y if ARCH_KIRKWOOD || MPC83xx
+       default n if MPC85xx || ARCH_SOCFPGA
        help
          Use the Ethernet initialization implemented in common code, which
          detects if a Piggy board is present.
 
-config PIGGY_MAC_ADRESS_OFFSET
+config PIGGY_MAC_ADDRESS_OFFSET
        int "Piggy Address Offset"
        default 0
        help
@@ -85,7 +95,8 @@ config KM_MVEXTSW_ADDR
 
 config KM_IVM_BUS
        int "IVM I2C Bus"
-       default 1 if KIRKWOOD || MPC85xx
+       default 0 if ARCH_SOCFPGA
+       default 1 if ARCH_KIRKWOOD || MPC85xx
        default 2 if MPC83xx
        help
          Identifier number of I2C bus, where the inventory EEPROM is connected to.