]> Git Repo - J-u-boot.git/blobdiff - arch/microblaze/Kconfig
microblaze: cache: introduce flush_cache_all()
[J-u-boot.git] / arch / microblaze / Kconfig
index 077b2a7d5ec1dd357bb8ccbfb88df93019efce5d..ce157a79ccc17c88dcff163b7ddb70ad7d8ae8db 100644 (file)
@@ -4,16 +4,42 @@ menu "MicroBlaze architecture"
 config SYS_ARCH
        default "microblaze"
 
+config NEEDS_MANUAL_RELOC
+       bool "Disable position-independent pre-relocation code"
+       default y
+       help
+         U-Boot expects to be linked to a specific hard-coded address, and to
+         be loaded to and run from that address. This option lifts that
+         restriction, thus allowing the code to be loaded to and executed from
+         almost any 4K aligned address. This logic relies on the relocation
+         information that is embedded in the binary to support U-Boot
+         relocating itself to the top-of-RAM later during execution.
+
+config STATIC_RELA
+       def_bool y if !NEEDS_MANUAL_RELOC
+
 choice
        prompt "Target select"
        optional
 
 config TARGET_MICROBLAZE_GENERIC
        bool "Support microblaze-generic"
+       select BOARD_LATE_INIT
+       select DM
+       select DM_SERIAL
+       select OF_CONTROL
        select SUPPORT_SPL
+       select SPL_LIBCOMMON_SUPPORT if SPL
+       select SPL_LIBGENERIC_SUPPORT if SPL
+       select SYSRESET
+       select DM_SPI
+       select DM_SPI_FLASH
+       select SPI
+       imply CMD_DM
 
 endchoice
 
+source "board/xilinx/Kconfig"
 source "board/xilinx/microblaze-generic/Kconfig"
 
 endmenu
This page took 0.024403 seconds and 4 git commands to generate.