1dd84058dSMasahiro Yamadamenu "MIPS architecture" 2dd84058dSMasahiro Yamada depends on MIPS 3dd84058dSMasahiro Yamada 4dd84058dSMasahiro Yamadaconfig SYS_ARCH 5dd84058dSMasahiro Yamada default "mips" 6dd84058dSMasahiro Yamada 7b9863b6dSDaniel Schwierzeckconfig SYS_CPU 820286cdfSPaul Burton default "mips32" if CPU_MIPS32 920286cdfSPaul Burton default "mips64" if CPU_MIPS64 10b9863b6dSDaniel Schwierzeck 11dd84058dSMasahiro Yamadachoice 12dd84058dSMasahiro Yamada prompt "Target select" 13a26cd049SJoe Hershberger optional 14dd84058dSMasahiro Yamada 15dd84058dSMasahiro Yamadaconfig TARGET_QEMU_MIPS 16dd84058dSMasahiro Yamada bool "Support qemu-mips" 170e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 180e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 1902611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 2002611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 21aa45f75eSDaniel Schwierzeck select SUPPORTS_CPU_MIPS64_R1 22aa45f75eSDaniel Schwierzeck select SUPPORTS_CPU_MIPS64_R2 23af3971f8SDaniel Schwierzeck select ROM_EXCEPTION_VECTORS 24dd84058dSMasahiro Yamada 25dd84058dSMasahiro Yamadaconfig TARGET_MALTA 26dd84058dSMasahiro Yamada bool "Support malta" 276242aa13SPaul Burton select DM 286242aa13SPaul Burton select DM_SERIAL 2905e34255SPaul Burton select DYNAMIC_IO_PORT_BASE 30566ce04dSPaul Burton select MIPS_CM 31566ce04dSPaul Burton select MIPS_L2_CACHE 326242aa13SPaul Burton select OF_CONTROL 336242aa13SPaul Burton select OF_ISA_BUS 340e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 350e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 3602611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 3702611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 3840ba13c9SPaul Burton select SUPPORTS_CPU_MIPS32_R6 390f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R1 400f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R2 410f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R6 429d638eeaSDaniel Schwierzeck select SWAP_IO_SPACE 43f53830e7SDaniel Schwierzeck select MIPS_L1_CACHE_SHIFT_6 44af3971f8SDaniel Schwierzeck select ROM_EXCEPTION_VECTORS 45dd84058dSMasahiro Yamada 46dd84058dSMasahiro Yamadaconfig TARGET_VCT 47dd84058dSMasahiro Yamada bool "Support vct" 480e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 4902611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 5002611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 51dd7c7200SPaul Burton select SYS_MIPS_CACHE_INIT_RAM_LOAD 52af3971f8SDaniel Schwierzeck select ROM_EXCEPTION_VECTORS 53dd84058dSMasahiro Yamada 54dd84058dSMasahiro Yamadaconfig TARGET_DBAU1X00 55dd84058dSMasahiro Yamada bool "Support dbau1x00" 560e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 570e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 5802611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 5902611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 60dd7c7200SPaul Burton select SYS_MIPS_CACHE_INIT_RAM_LOAD 61af3971f8SDaniel Schwierzeck select ROM_EXCEPTION_VECTORS 620315a289SDaniel Schwierzeck select MIPS_TUNE_4KC 63dd84058dSMasahiro Yamada 64dd84058dSMasahiro Yamadaconfig TARGET_PB1X00 65dd84058dSMasahiro Yamada bool "Support pb1x00" 660e1dc345SDaniel Schwierzeck select SUPPORTS_LITTLE_ENDIAN 6702611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 6802611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 69dd7c7200SPaul Burton select SYS_MIPS_CACHE_INIT_RAM_LOAD 70af3971f8SDaniel Schwierzeck select ROM_EXCEPTION_VECTORS 710315a289SDaniel Schwierzeck select MIPS_TUNE_4KC 72dd84058dSMasahiro Yamada 731d3d0f1fSWills Wangconfig ARCH_ATH79 741d3d0f1fSWills Wang bool "Support QCA/Atheros ath79" 751d3d0f1fSWills Wang select OF_CONTROL 761d3d0f1fSWills Wang select DM 771d3d0f1fSWills Wang 78*ee422142SÁlvaro Fernández Rojasconfig ARCH_BMIPS 79*ee422142SÁlvaro Fernández Rojas bool "Support BMIPS SoCs" 80*ee422142SÁlvaro Fernández Rojas select OF_CONTROL 81*ee422142SÁlvaro Fernández Rojas select DM 82*ee422142SÁlvaro Fernández Rojas select CLK 83*ee422142SÁlvaro Fernández Rojas select CPU 84*ee422142SÁlvaro Fernández Rojas select RAM 85*ee422142SÁlvaro Fernández Rojas select SYSRESET 86*ee422142SÁlvaro Fernández Rojas 8732c1a6eeSPurna Chandra Mandalconfig MACH_PIC32 8832c1a6eeSPurna Chandra Mandal bool "Support Microchip PIC32" 8932c1a6eeSPurna Chandra Mandal select OF_CONTROL 9032c1a6eeSPurna Chandra Mandal select DM 9132c1a6eeSPurna Chandra Mandal 92ad8783cbSPaul Burtonconfig TARGET_BOSTON 93ad8783cbSPaul Burton bool "Support Boston" 94ad8783cbSPaul Burton select DM 95ad8783cbSPaul Burton select DM_SERIAL 96ad8783cbSPaul Burton select OF_CONTROL 97ad8783cbSPaul Burton select MIPS_CM 98ad8783cbSPaul Burton select MIPS_L1_CACHE_SHIFT_6 99ad8783cbSPaul Burton select MIPS_L2_CACHE 100ad8783cbSPaul Burton select SUPPORTS_BIG_ENDIAN 101ad8783cbSPaul Burton select SUPPORTS_LITTLE_ENDIAN 102ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R1 103ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R2 104ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R6 105ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R1 106ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R2 107ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R6 108af3971f8SDaniel Schwierzeck select ROM_EXCEPTION_VECTORS 109ad8783cbSPaul Burton 110ebf2b9e3SZubair Lutfullah Kakakhelconfig TARGET_XILFPGA 111ebf2b9e3SZubair Lutfullah Kakakhel bool "Support Imagination Xilfpga" 112ebf2b9e3SZubair Lutfullah Kakakhel select OF_CONTROL 113ebf2b9e3SZubair Lutfullah Kakakhel select DM 114ebf2b9e3SZubair Lutfullah Kakakhel select DM_SERIAL 115ebf2b9e3SZubair Lutfullah Kakakhel select DM_GPIO 116ebf2b9e3SZubair Lutfullah Kakakhel select DM_ETH 117ebf2b9e3SZubair Lutfullah Kakakhel select SUPPORTS_LITTLE_ENDIAN 118ebf2b9e3SZubair Lutfullah Kakakhel select SUPPORTS_CPU_MIPS32_R1 119ebf2b9e3SZubair Lutfullah Kakakhel select SUPPORTS_CPU_MIPS32_R2 120ebf2b9e3SZubair Lutfullah Kakakhel select MIPS_L1_CACHE_SHIFT_4 121af3971f8SDaniel Schwierzeck select ROM_EXCEPTION_VECTORS 122ebf2b9e3SZubair Lutfullah Kakakhel help 123ebf2b9e3SZubair Lutfullah Kakakhel This supports IMGTEC MIPSfpga platform 124ebf2b9e3SZubair Lutfullah Kakakhel 125dd84058dSMasahiro Yamadaendchoice 126dd84058dSMasahiro Yamada 127dd84058dSMasahiro Yamadasource "board/dbau1x00/Kconfig" 128ad8783cbSPaul Burtonsource "board/imgtec/boston/Kconfig" 129dd84058dSMasahiro Yamadasource "board/imgtec/malta/Kconfig" 130ebf2b9e3SZubair Lutfullah Kakakhelsource "board/imgtec/xilfpga/Kconfig" 131dd84058dSMasahiro Yamadasource "board/micronas/vct/Kconfig" 132dd84058dSMasahiro Yamadasource "board/pb1x00/Kconfig" 133dd84058dSMasahiro Yamadasource "board/qemu-mips/Kconfig" 1341d3d0f1fSWills Wangsource "arch/mips/mach-ath79/Kconfig" 135*ee422142SÁlvaro Fernández Rojassource "arch/mips/mach-bmips/Kconfig" 13632c1a6eeSPurna Chandra Mandalsource "arch/mips/mach-pic32/Kconfig" 137dd84058dSMasahiro Yamada 1380e1dc345SDaniel Schwierzeckif MIPS 1390e1dc345SDaniel Schwierzeck 1400e1dc345SDaniel Schwierzeckchoice 1410e1dc345SDaniel Schwierzeck prompt "Endianness selection" 1420e1dc345SDaniel Schwierzeck help 1430e1dc345SDaniel Schwierzeck Some MIPS boards can be configured for either little or big endian 1440e1dc345SDaniel Schwierzeck byte order. These modes require different U-Boot images. In general there 1450e1dc345SDaniel Schwierzeck is one preferred byteorder for a particular system but some systems are 1460e1dc345SDaniel Schwierzeck just as commonly used in the one or the other endianness. 1470e1dc345SDaniel Schwierzeck 1480e1dc345SDaniel Schwierzeckconfig SYS_BIG_ENDIAN 1490e1dc345SDaniel Schwierzeck bool "Big endian" 1500e1dc345SDaniel Schwierzeck depends on SUPPORTS_BIG_ENDIAN 1510e1dc345SDaniel Schwierzeck 1520e1dc345SDaniel Schwierzeckconfig SYS_LITTLE_ENDIAN 1530e1dc345SDaniel Schwierzeck bool "Little endian" 1540e1dc345SDaniel Schwierzeck depends on SUPPORTS_LITTLE_ENDIAN 1550e1dc345SDaniel Schwierzeck 1560e1dc345SDaniel Schwierzeckendchoice 1570e1dc345SDaniel Schwierzeck 15802611cbbSDaniel Schwierzeckchoice 15902611cbbSDaniel Schwierzeck prompt "CPU selection" 16002611cbbSDaniel Schwierzeck default CPU_MIPS32_R2 16102611cbbSDaniel Schwierzeck 16202611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R1 16302611cbbSDaniel Schwierzeck bool "MIPS32 Release 1" 16402611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R1 16502611cbbSDaniel Schwierzeck select 32BIT 16602611cbbSDaniel Schwierzeck help 167c52ebea1SPaul Burton Choose this option to build an U-Boot for release 1 through 5 of the 16802611cbbSDaniel Schwierzeck MIPS32 architecture. 16902611cbbSDaniel Schwierzeck 17002611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R2 17102611cbbSDaniel Schwierzeck bool "MIPS32 Release 2" 17202611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R2 17302611cbbSDaniel Schwierzeck select 32BIT 17402611cbbSDaniel Schwierzeck help 175c52ebea1SPaul Burton Choose this option to build an U-Boot for release 2 through 5 of the 176c52ebea1SPaul Burton MIPS32 architecture. 177c52ebea1SPaul Burton 178c52ebea1SPaul Burtonconfig CPU_MIPS32_R6 179c52ebea1SPaul Burton bool "MIPS32 Release 6" 180c52ebea1SPaul Burton depends on SUPPORTS_CPU_MIPS32_R6 181c52ebea1SPaul Burton select 32BIT 182c52ebea1SPaul Burton help 183c52ebea1SPaul Burton Choose this option to build an U-Boot for release 6 or later of the 18402611cbbSDaniel Schwierzeck MIPS32 architecture. 18502611cbbSDaniel Schwierzeck 18602611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R1 18702611cbbSDaniel Schwierzeck bool "MIPS64 Release 1" 18802611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R1 18902611cbbSDaniel Schwierzeck select 64BIT 19002611cbbSDaniel Schwierzeck help 191c52ebea1SPaul Burton Choose this option to build a kernel for release 1 through 5 of the 19202611cbbSDaniel Schwierzeck MIPS64 architecture. 19302611cbbSDaniel Schwierzeck 19402611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R2 19502611cbbSDaniel Schwierzeck bool "MIPS64 Release 2" 19602611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R2 19702611cbbSDaniel Schwierzeck select 64BIT 19802611cbbSDaniel Schwierzeck help 199c52ebea1SPaul Burton Choose this option to build a kernel for release 2 through 5 of the 200c52ebea1SPaul Burton MIPS64 architecture. 201c52ebea1SPaul Burton 202c52ebea1SPaul Burtonconfig CPU_MIPS64_R6 203c52ebea1SPaul Burton bool "MIPS64 Release 6" 204c52ebea1SPaul Burton depends on SUPPORTS_CPU_MIPS64_R6 205c52ebea1SPaul Burton select 64BIT 206c52ebea1SPaul Burton help 207c52ebea1SPaul Burton Choose this option to build a kernel for release 6 or later of the 20802611cbbSDaniel Schwierzeck MIPS64 architecture. 20902611cbbSDaniel Schwierzeck 21002611cbbSDaniel Schwierzeckendchoice 21102611cbbSDaniel Schwierzeck 212af3971f8SDaniel Schwierzeckmenu "General setup" 213af3971f8SDaniel Schwierzeck 214af3971f8SDaniel Schwierzeckconfig ROM_EXCEPTION_VECTORS 215af3971f8SDaniel Schwierzeck bool "Build U-Boot image with exception vectors" 216af3971f8SDaniel Schwierzeck help 217af3971f8SDaniel Schwierzeck Enable this to include exception vectors in the U-Boot image. This is 218af3971f8SDaniel Schwierzeck required if the U-Boot entry point is equal to the address of the 219af3971f8SDaniel Schwierzeck CPU reset exception vector (e.g. U-Boot as ROM loader in Qemu, 220af3971f8SDaniel Schwierzeck U-Boot booted from parallel NOR flash). 221af3971f8SDaniel Schwierzeck Disable this, if the U-Boot image is booted from DRAM (e.g. by SPL). 222af3971f8SDaniel Schwierzeck In that case the image size will be reduced by 0x500 bytes. 223af3971f8SDaniel Schwierzeck 224af3971f8SDaniel Schwierzeckendmenu 225af3971f8SDaniel Schwierzeck 22625fc664fSDaniel Schwierzeckmenu "OS boot interface" 22725fc664fSDaniel Schwierzeck 22825fc664fSDaniel Schwierzeckconfig MIPS_BOOT_CMDLINE_LEGACY 22925fc664fSDaniel Schwierzeck bool "Hand over legacy command line to Linux kernel" 23025fc664fSDaniel Schwierzeck default y 23125fc664fSDaniel Schwierzeck help 23225fc664fSDaniel Schwierzeck Enable this option if you want U-Boot to hand over the Yamon-style 23325fc664fSDaniel Schwierzeck command line to the kernel. All bootargs will be prepared as argc/argv 23425fc664fSDaniel Schwierzeck compatible list. The argument count (argc) is stored in register $a0. 23525fc664fSDaniel Schwierzeck The address of the argument list (argv) is stored in register $a1. 23625fc664fSDaniel Schwierzeck 237ca65e585SDaniel Schwierzeckconfig MIPS_BOOT_ENV_LEGACY 238ca65e585SDaniel Schwierzeck bool "Hand over legacy environment to Linux kernel" 239ca65e585SDaniel Schwierzeck default y 240ca65e585SDaniel Schwierzeck help 241ca65e585SDaniel Schwierzeck Enable this option if you want U-Boot to hand over the Yamon-style 242ca65e585SDaniel Schwierzeck environment to the kernel. Information like memory size, initrd 243ca65e585SDaniel Schwierzeck address and size will be prepared as zero-terminated key/value list. 2441cc0a9f4SRobert P. J. Day The address of the environment is stored in register $a2. 245ca65e585SDaniel Schwierzeck 2465002d8ccSDaniel Schwierzeckconfig MIPS_BOOT_FDT 24790b1c9faSDaniel Schwierzeck bool "Hand over a flattened device tree to Linux kernel" 2485002d8ccSDaniel Schwierzeck default n 2495002d8ccSDaniel Schwierzeck help 2505002d8ccSDaniel Schwierzeck Enable this option if you want U-Boot to hand over a flattened 25190b1c9faSDaniel Schwierzeck device tree to the kernel. According to UHI register $a0 will be set 25290b1c9faSDaniel Schwierzeck to -2 and the FDT address is stored in $a1. 2535002d8ccSDaniel Schwierzeck 25425fc664fSDaniel Schwierzeckendmenu 25525fc664fSDaniel Schwierzeck 2560e1dc345SDaniel Schwierzeckconfig SUPPORTS_BIG_ENDIAN 2570e1dc345SDaniel Schwierzeck bool 2580e1dc345SDaniel Schwierzeck 2590e1dc345SDaniel Schwierzeckconfig SUPPORTS_LITTLE_ENDIAN 2600e1dc345SDaniel Schwierzeck bool 2610e1dc345SDaniel Schwierzeck 26202611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R1 26302611cbbSDaniel Schwierzeck bool 26402611cbbSDaniel Schwierzeck 26502611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R2 26602611cbbSDaniel Schwierzeck bool 26702611cbbSDaniel Schwierzeck 268c52ebea1SPaul Burtonconfig SUPPORTS_CPU_MIPS32_R6 269c52ebea1SPaul Burton bool 270c52ebea1SPaul Burton 27102611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R1 27202611cbbSDaniel Schwierzeck bool 27302611cbbSDaniel Schwierzeck 27402611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R2 27502611cbbSDaniel Schwierzeck bool 27602611cbbSDaniel Schwierzeck 277c52ebea1SPaul Burtonconfig SUPPORTS_CPU_MIPS64_R6 278c52ebea1SPaul Burton bool 279c52ebea1SPaul Burton 280c57dafb5SDaniel Schwierzeckconfig CPU_MIPS32 281c57dafb5SDaniel Schwierzeck bool 282c52ebea1SPaul Burton default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 283c57dafb5SDaniel Schwierzeck 284c57dafb5SDaniel Schwierzeckconfig CPU_MIPS64 285c57dafb5SDaniel Schwierzeck bool 286c52ebea1SPaul Burton default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6 287c57dafb5SDaniel Schwierzeck 2880315a289SDaniel Schwierzeckconfig MIPS_TUNE_4KC 2890315a289SDaniel Schwierzeck bool 2900315a289SDaniel Schwierzeck 2910315a289SDaniel Schwierzeckconfig MIPS_TUNE_14KC 2920315a289SDaniel Schwierzeck bool 2930315a289SDaniel Schwierzeck 2940315a289SDaniel Schwierzeckconfig MIPS_TUNE_24KC 2950315a289SDaniel Schwierzeck bool 2960315a289SDaniel Schwierzeck 2975f9cc363SDaniel Schwierzeckconfig MIPS_TUNE_34KC 2985f9cc363SDaniel Schwierzeck bool 2995f9cc363SDaniel Schwierzeck 3000a0a958bSMarek Vasutconfig MIPS_TUNE_74KC 3010a0a958bSMarek Vasut bool 3020a0a958bSMarek Vasut 30302611cbbSDaniel Schwierzeckconfig 32BIT 30402611cbbSDaniel Schwierzeck bool 30502611cbbSDaniel Schwierzeck 30602611cbbSDaniel Schwierzeckconfig 64BIT 30702611cbbSDaniel Schwierzeck bool 30802611cbbSDaniel Schwierzeck 3099d638eeaSDaniel Schwierzeckconfig SWAP_IO_SPACE 3109d638eeaSDaniel Schwierzeck bool 3119d638eeaSDaniel Schwierzeck 312dd7c7200SPaul Burtonconfig SYS_MIPS_CACHE_INIT_RAM_LOAD 313dd7c7200SPaul Burton bool 314dd7c7200SPaul Burton 315924ad866SDaniel Schwierzeckconfig MIPS_INIT_STACK_IN_SRAM 316924ad866SDaniel Schwierzeck bool 317924ad866SDaniel Schwierzeck default n 318924ad866SDaniel Schwierzeck help 319924ad866SDaniel Schwierzeck Select this if the initial stack frame could be setup in SRAM. 320924ad866SDaniel Schwierzeck Normally the initial stack frame is set up in DRAM which is often 321924ad866SDaniel Schwierzeck only available after lowlevel_init. With this option the initial 322924ad866SDaniel Schwierzeck stack frame and the early C environment is set up before 323924ad866SDaniel Schwierzeck lowlevel_init. Thus lowlevel_init does not need to be implemented 324924ad866SDaniel Schwierzeck in assembler. 325924ad866SDaniel Schwierzeck 326ace3be4fSPaul Burtonconfig SYS_DCACHE_SIZE 327ace3be4fSPaul Burton int 328ace3be4fSPaul Burton default 0 329ace3be4fSPaul Burton help 330ace3be4fSPaul Burton The total size of the L1 Dcache, if known at compile time. 331ace3be4fSPaul Burton 33237228621SPaul Burtonconfig SYS_DCACHE_LINE_SIZE 3334b7b0a0fSPaul Burton int 33437228621SPaul Burton default 0 33537228621SPaul Burton help 33637228621SPaul Burton The size of L1 Dcache lines, if known at compile time. 33737228621SPaul Burton 338ace3be4fSPaul Burtonconfig SYS_ICACHE_SIZE 339ace3be4fSPaul Burton int 340ace3be4fSPaul Burton default 0 341ace3be4fSPaul Burton help 342ace3be4fSPaul Burton The total size of the L1 ICache, if known at compile time. 343ace3be4fSPaul Burton 34437228621SPaul Burtonconfig SYS_ICACHE_LINE_SIZE 345ace3be4fSPaul Burton int 346ace3be4fSPaul Burton default 0 347ace3be4fSPaul Burton help 34837228621SPaul Burton The size of L1 Icache lines, if known at compile time. 349ace3be4fSPaul Burton 350ace3be4fSPaul Burtonconfig SYS_CACHE_SIZE_AUTO 351ace3be4fSPaul Burton def_bool y if SYS_DCACHE_SIZE = 0 && SYS_ICACHE_SIZE = 0 && \ 35237228621SPaul Burton SYS_DCACHE_LINE_SIZE = 0 && SYS_ICACHE_LINE_SIZE = 0 353ace3be4fSPaul Burton help 354ace3be4fSPaul Burton Select this (or let it be auto-selected by not defining any cache 355ace3be4fSPaul Burton sizes) in order to allow U-Boot to automatically detect the sizes 356ace3be4fSPaul Burton of caches at runtime. This has a small cost in code size & runtime 357ace3be4fSPaul Burton so if you know the cache configuration for your system at compile 358ace3be4fSPaul Burton time it would be beneficial to configure it. 359ace3be4fSPaul Burton 360f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_4 361f53830e7SDaniel Schwierzeck bool 362f53830e7SDaniel Schwierzeck 363f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_5 364f53830e7SDaniel Schwierzeck bool 365f53830e7SDaniel Schwierzeck 366f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_6 367f53830e7SDaniel Schwierzeck bool 368f53830e7SDaniel Schwierzeck 369f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_7 370f53830e7SDaniel Schwierzeck bool 371f53830e7SDaniel Schwierzeck 372f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT 373f53830e7SDaniel Schwierzeck int 374f53830e7SDaniel Schwierzeck default "7" if MIPS_L1_CACHE_SHIFT_7 375f53830e7SDaniel Schwierzeck default "6" if MIPS_L1_CACHE_SHIFT_6 376f53830e7SDaniel Schwierzeck default "5" if MIPS_L1_CACHE_SHIFT_5 377f53830e7SDaniel Schwierzeck default "4" if MIPS_L1_CACHE_SHIFT_4 378f53830e7SDaniel Schwierzeck default "5" 379f53830e7SDaniel Schwierzeck 3804baa0ab6SPaul Burtonconfig MIPS_L2_CACHE 3814baa0ab6SPaul Burton bool 3824baa0ab6SPaul Burton help 3834baa0ab6SPaul Burton Select this if your system includes an L2 cache and you want U-Boot 3844baa0ab6SPaul Burton to initialise & maintain it. 3854baa0ab6SPaul Burton 38605e34255SPaul Burtonconfig DYNAMIC_IO_PORT_BASE 38705e34255SPaul Burton bool 38805e34255SPaul Burton 389b2b135d9SPaul Burtonconfig MIPS_CM 390b2b135d9SPaul Burton bool 391b2b135d9SPaul Burton help 392b2b135d9SPaul Burton Select this if your system contains a MIPS Coherence Manager and you 393b2b135d9SPaul Burton wish U-Boot to configure it or make use of it to retrieve system 394b2b135d9SPaul Burton information such as cache configuration. 395b2b135d9SPaul Burton 396b2b135d9SPaul Burtonconfig MIPS_CM_BASE 397b2b135d9SPaul Burton hex 398b2b135d9SPaul Burton default 0x1fbf8000 399b2b135d9SPaul Burton help 400b2b135d9SPaul Burton The physical base address at which to map the MIPS Coherence Manager 401b2b135d9SPaul Burton Global Configuration Registers (GCRs). This should be set such that 402b2b135d9SPaul Burton the GCRs occupy a region of the physical address space which is 403b2b135d9SPaul Burton otherwise unused, or at minimum that software doesn't need to access. 404b2b135d9SPaul Burton 4050e1dc345SDaniel Schwierzeckendif 4060e1dc345SDaniel Schwierzeck 407dd84058dSMasahiro Yamadaendmenu 408