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" 17*5ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 180e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_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 23*5ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 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 31*5ed063d1SMichal Simek select MIPS_L1_CACHE_SHIFT_6 32566ce04dSPaul Burton select MIPS_L2_CACHE 336242aa13SPaul Burton select OF_CONTROL 346242aa13SPaul Burton select OF_ISA_BUS 35*5ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 360e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 3702611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 3802611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 3940ba13c9SPaul Burton select SUPPORTS_CPU_MIPS32_R6 400f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R1 410f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R2 420f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R6 43*5ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 449d638eeaSDaniel Schwierzeck select SWAP_IO_SPACE 45dd84058dSMasahiro Yamada 46dd84058dSMasahiro Yamadaconfig TARGET_VCT 47dd84058dSMasahiro Yamada bool "Support vct" 48*5ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 490e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 5002611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 5102611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 52dd7c7200SPaul Burton select SYS_MIPS_CACHE_INIT_RAM_LOAD 53dd84058dSMasahiro Yamada 54dd84058dSMasahiro Yamadaconfig TARGET_DBAU1X00 55dd84058dSMasahiro Yamada bool "Support dbau1x00" 56*5ed063d1SMichal Simek select MIPS_TUNE_4KC 57*5ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 580e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 5902611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 6002611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 61*5ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 62dd7c7200SPaul Burton select SYS_MIPS_CACHE_INIT_RAM_LOAD 63dd84058dSMasahiro Yamada 64dd84058dSMasahiro Yamadaconfig TARGET_PB1X00 65dd84058dSMasahiro Yamada bool "Support pb1x00" 66*5ed063d1SMichal Simek select MIPS_TUNE_4KC 67*5ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 6802611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 6902611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 70*5ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 71dd7c7200SPaul Burton select SYS_MIPS_CACHE_INIT_RAM_LOAD 72dd84058dSMasahiro Yamada 731d3d0f1fSWills Wangconfig ARCH_ATH79 741d3d0f1fSWills Wang bool "Support QCA/Atheros ath79" 751d3d0f1fSWills Wang select DM 76*5ed063d1SMichal Simek select OF_CONTROL 771d3d0f1fSWills Wang 78ee422142SÁlvaro Fernández Rojasconfig ARCH_BMIPS 79ee422142SÁlvaro Fernández Rojas bool "Support BMIPS SoCs" 80ee422142SÁlvaro Fernández Rojas select CLK 81ee422142SÁlvaro Fernández Rojas select CPU 82*5ed063d1SMichal Simek select DM 83*5ed063d1SMichal Simek select OF_CONTROL 84ee422142SÁlvaro Fernández Rojas select RAM 85ee422142SÁlvaro Fernández Rojas select SYSRESET 86ee422142SÁlvaro Fernández Rojas 8732c1a6eeSPurna Chandra Mandalconfig MACH_PIC32 8832c1a6eeSPurna Chandra Mandal bool "Support Microchip PIC32" 8932c1a6eeSPurna Chandra Mandal select DM 90*5ed063d1SMichal Simek select OF_CONTROL 9132c1a6eeSPurna Chandra Mandal 92ad8783cbSPaul Burtonconfig TARGET_BOSTON 93ad8783cbSPaul Burton bool "Support Boston" 94ad8783cbSPaul Burton select DM 95ad8783cbSPaul Burton select DM_SERIAL 96ad8783cbSPaul Burton select MIPS_CM 97ad8783cbSPaul Burton select MIPS_L1_CACHE_SHIFT_6 98ad8783cbSPaul Burton select MIPS_L2_CACHE 99d2b12a57SPaul Burton select OF_BOARD_SETUP 100*5ed063d1SMichal Simek select OF_CONTROL 101*5ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 102ad8783cbSPaul Burton select SUPPORTS_BIG_ENDIAN 103ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R1 104ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R2 105ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R6 106ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R1 107ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R2 108ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R6 109*5ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 110ad8783cbSPaul Burton 111ebf2b9e3SZubair Lutfullah Kakakhelconfig TARGET_XILFPGA 112ebf2b9e3SZubair Lutfullah Kakakhel bool "Support Imagination Xilfpga" 113ebf2b9e3SZubair Lutfullah Kakakhel select DM 114ebf2b9e3SZubair Lutfullah Kakakhel select DM_ETH 115*5ed063d1SMichal Simek select DM_GPIO 116*5ed063d1SMichal Simek select DM_SERIAL 117*5ed063d1SMichal Simek select MIPS_L1_CACHE_SHIFT_4 118*5ed063d1SMichal Simek select OF_CONTROL 119*5ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 120ebf2b9e3SZubair Lutfullah Kakakhel select SUPPORTS_CPU_MIPS32_R1 121ebf2b9e3SZubair Lutfullah Kakakhel select SUPPORTS_CPU_MIPS32_R2 122*5ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 123ebf2b9e3SZubair Lutfullah Kakakhel help 124ebf2b9e3SZubair Lutfullah Kakakhel This supports IMGTEC MIPSfpga platform 125ebf2b9e3SZubair Lutfullah Kakakhel 126dd84058dSMasahiro Yamadaendchoice 127dd84058dSMasahiro Yamada 128dd84058dSMasahiro Yamadasource "board/dbau1x00/Kconfig" 129ad8783cbSPaul Burtonsource "board/imgtec/boston/Kconfig" 130dd84058dSMasahiro Yamadasource "board/imgtec/malta/Kconfig" 131ebf2b9e3SZubair Lutfullah Kakakhelsource "board/imgtec/xilfpga/Kconfig" 132dd84058dSMasahiro Yamadasource "board/micronas/vct/Kconfig" 133dd84058dSMasahiro Yamadasource "board/pb1x00/Kconfig" 134dd84058dSMasahiro Yamadasource "board/qemu-mips/Kconfig" 1351d3d0f1fSWills Wangsource "arch/mips/mach-ath79/Kconfig" 136ee422142SÁlvaro Fernández Rojassource "arch/mips/mach-bmips/Kconfig" 13732c1a6eeSPurna Chandra Mandalsource "arch/mips/mach-pic32/Kconfig" 138dd84058dSMasahiro Yamada 1390e1dc345SDaniel Schwierzeckif MIPS 1400e1dc345SDaniel Schwierzeck 1410e1dc345SDaniel Schwierzeckchoice 1420e1dc345SDaniel Schwierzeck prompt "Endianness selection" 1430e1dc345SDaniel Schwierzeck help 1440e1dc345SDaniel Schwierzeck Some MIPS boards can be configured for either little or big endian 1450e1dc345SDaniel Schwierzeck byte order. These modes require different U-Boot images. In general there 1460e1dc345SDaniel Schwierzeck is one preferred byteorder for a particular system but some systems are 1470e1dc345SDaniel Schwierzeck just as commonly used in the one or the other endianness. 1480e1dc345SDaniel Schwierzeck 1490e1dc345SDaniel Schwierzeckconfig SYS_BIG_ENDIAN 1500e1dc345SDaniel Schwierzeck bool "Big endian" 1510e1dc345SDaniel Schwierzeck depends on SUPPORTS_BIG_ENDIAN 1520e1dc345SDaniel Schwierzeck 1530e1dc345SDaniel Schwierzeckconfig SYS_LITTLE_ENDIAN 1540e1dc345SDaniel Schwierzeck bool "Little endian" 1550e1dc345SDaniel Schwierzeck depends on SUPPORTS_LITTLE_ENDIAN 1560e1dc345SDaniel Schwierzeck 1570e1dc345SDaniel Schwierzeckendchoice 1580e1dc345SDaniel Schwierzeck 15902611cbbSDaniel Schwierzeckchoice 16002611cbbSDaniel Schwierzeck prompt "CPU selection" 16102611cbbSDaniel Schwierzeck default CPU_MIPS32_R2 16202611cbbSDaniel Schwierzeck 16302611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R1 16402611cbbSDaniel Schwierzeck bool "MIPS32 Release 1" 16502611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R1 16602611cbbSDaniel Schwierzeck select 32BIT 16702611cbbSDaniel Schwierzeck help 168c52ebea1SPaul Burton Choose this option to build an U-Boot for release 1 through 5 of the 16902611cbbSDaniel Schwierzeck MIPS32 architecture. 17002611cbbSDaniel Schwierzeck 17102611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R2 17202611cbbSDaniel Schwierzeck bool "MIPS32 Release 2" 17302611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R2 17402611cbbSDaniel Schwierzeck select 32BIT 17502611cbbSDaniel Schwierzeck help 176c52ebea1SPaul Burton Choose this option to build an U-Boot for release 2 through 5 of the 177c52ebea1SPaul Burton MIPS32 architecture. 178c52ebea1SPaul Burton 179c52ebea1SPaul Burtonconfig CPU_MIPS32_R6 180c52ebea1SPaul Burton bool "MIPS32 Release 6" 181c52ebea1SPaul Burton depends on SUPPORTS_CPU_MIPS32_R6 182c52ebea1SPaul Burton select 32BIT 183c52ebea1SPaul Burton help 184c52ebea1SPaul Burton Choose this option to build an U-Boot for release 6 or later of the 18502611cbbSDaniel Schwierzeck MIPS32 architecture. 18602611cbbSDaniel Schwierzeck 18702611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R1 18802611cbbSDaniel Schwierzeck bool "MIPS64 Release 1" 18902611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R1 19002611cbbSDaniel Schwierzeck select 64BIT 19102611cbbSDaniel Schwierzeck help 192c52ebea1SPaul Burton Choose this option to build a kernel for release 1 through 5 of the 19302611cbbSDaniel Schwierzeck MIPS64 architecture. 19402611cbbSDaniel Schwierzeck 19502611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R2 19602611cbbSDaniel Schwierzeck bool "MIPS64 Release 2" 19702611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R2 19802611cbbSDaniel Schwierzeck select 64BIT 19902611cbbSDaniel Schwierzeck help 200c52ebea1SPaul Burton Choose this option to build a kernel for release 2 through 5 of the 201c52ebea1SPaul Burton MIPS64 architecture. 202c52ebea1SPaul Burton 203c52ebea1SPaul Burtonconfig CPU_MIPS64_R6 204c52ebea1SPaul Burton bool "MIPS64 Release 6" 205c52ebea1SPaul Burton depends on SUPPORTS_CPU_MIPS64_R6 206c52ebea1SPaul Burton select 64BIT 207c52ebea1SPaul Burton help 208c52ebea1SPaul Burton Choose this option to build a kernel for release 6 or later of the 20902611cbbSDaniel Schwierzeck MIPS64 architecture. 21002611cbbSDaniel Schwierzeck 21102611cbbSDaniel Schwierzeckendchoice 21202611cbbSDaniel Schwierzeck 213af3971f8SDaniel Schwierzeckmenu "General setup" 214af3971f8SDaniel Schwierzeck 215af3971f8SDaniel Schwierzeckconfig ROM_EXCEPTION_VECTORS 216af3971f8SDaniel Schwierzeck bool "Build U-Boot image with exception vectors" 217af3971f8SDaniel Schwierzeck help 218af3971f8SDaniel Schwierzeck Enable this to include exception vectors in the U-Boot image. This is 219af3971f8SDaniel Schwierzeck required if the U-Boot entry point is equal to the address of the 220af3971f8SDaniel Schwierzeck CPU reset exception vector (e.g. U-Boot as ROM loader in Qemu, 221af3971f8SDaniel Schwierzeck U-Boot booted from parallel NOR flash). 222af3971f8SDaniel Schwierzeck Disable this, if the U-Boot image is booted from DRAM (e.g. by SPL). 223af3971f8SDaniel Schwierzeck In that case the image size will be reduced by 0x500 bytes. 224af3971f8SDaniel Schwierzeck 225939a255aSPaul Burtonconfig MIPS_CM_BASE 226939a255aSPaul Burton hex "MIPS CM GCR Base Address" 227939a255aSPaul Burton depends on MIPS_CM 228ed048e7cSPaul Burton default 0x16100000 if TARGET_BOSTON 229939a255aSPaul Burton default 0x1fbf8000 230939a255aSPaul Burton help 231939a255aSPaul Burton The physical base address at which to map the MIPS Coherence Manager 232939a255aSPaul Burton Global Configuration Registers (GCRs). This should be set such that 233939a255aSPaul Burton the GCRs occupy a region of the physical address space which is 234939a255aSPaul Burton otherwise unused, or at minimum that software doesn't need to access. 235939a255aSPaul Burton 236af3971f8SDaniel Schwierzeckendmenu 237af3971f8SDaniel Schwierzeck 23825fc664fSDaniel Schwierzeckmenu "OS boot interface" 23925fc664fSDaniel Schwierzeck 24025fc664fSDaniel Schwierzeckconfig MIPS_BOOT_CMDLINE_LEGACY 24125fc664fSDaniel Schwierzeck bool "Hand over legacy command line to Linux kernel" 24225fc664fSDaniel Schwierzeck default y 24325fc664fSDaniel Schwierzeck help 24425fc664fSDaniel Schwierzeck Enable this option if you want U-Boot to hand over the Yamon-style 24525fc664fSDaniel Schwierzeck command line to the kernel. All bootargs will be prepared as argc/argv 24625fc664fSDaniel Schwierzeck compatible list. The argument count (argc) is stored in register $a0. 24725fc664fSDaniel Schwierzeck The address of the argument list (argv) is stored in register $a1. 24825fc664fSDaniel Schwierzeck 249ca65e585SDaniel Schwierzeckconfig MIPS_BOOT_ENV_LEGACY 250ca65e585SDaniel Schwierzeck bool "Hand over legacy environment to Linux kernel" 251ca65e585SDaniel Schwierzeck default y 252ca65e585SDaniel Schwierzeck help 253ca65e585SDaniel Schwierzeck Enable this option if you want U-Boot to hand over the Yamon-style 254ca65e585SDaniel Schwierzeck environment to the kernel. Information like memory size, initrd 255ca65e585SDaniel Schwierzeck address and size will be prepared as zero-terminated key/value list. 2561cc0a9f4SRobert P. J. Day The address of the environment is stored in register $a2. 257ca65e585SDaniel Schwierzeck 2585002d8ccSDaniel Schwierzeckconfig MIPS_BOOT_FDT 25990b1c9faSDaniel Schwierzeck bool "Hand over a flattened device tree to Linux kernel" 2605002d8ccSDaniel Schwierzeck default n 2615002d8ccSDaniel Schwierzeck help 2625002d8ccSDaniel Schwierzeck Enable this option if you want U-Boot to hand over a flattened 26390b1c9faSDaniel Schwierzeck device tree to the kernel. According to UHI register $a0 will be set 26490b1c9faSDaniel Schwierzeck to -2 and the FDT address is stored in $a1. 2655002d8ccSDaniel Schwierzeck 26625fc664fSDaniel Schwierzeckendmenu 26725fc664fSDaniel Schwierzeck 2680e1dc345SDaniel Schwierzeckconfig SUPPORTS_BIG_ENDIAN 2690e1dc345SDaniel Schwierzeck bool 2700e1dc345SDaniel Schwierzeck 2710e1dc345SDaniel Schwierzeckconfig SUPPORTS_LITTLE_ENDIAN 2720e1dc345SDaniel Schwierzeck bool 2730e1dc345SDaniel Schwierzeck 27402611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R1 27502611cbbSDaniel Schwierzeck bool 27602611cbbSDaniel Schwierzeck 27702611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R2 27802611cbbSDaniel Schwierzeck bool 27902611cbbSDaniel Schwierzeck 280c52ebea1SPaul Burtonconfig SUPPORTS_CPU_MIPS32_R6 281c52ebea1SPaul Burton bool 282c52ebea1SPaul Burton 28302611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R1 28402611cbbSDaniel Schwierzeck bool 28502611cbbSDaniel Schwierzeck 28602611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R2 28702611cbbSDaniel Schwierzeck bool 28802611cbbSDaniel Schwierzeck 289c52ebea1SPaul Burtonconfig SUPPORTS_CPU_MIPS64_R6 290c52ebea1SPaul Burton bool 291c52ebea1SPaul Burton 292c57dafb5SDaniel Schwierzeckconfig CPU_MIPS32 293c57dafb5SDaniel Schwierzeck bool 294c52ebea1SPaul Burton default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 295c57dafb5SDaniel Schwierzeck 296c57dafb5SDaniel Schwierzeckconfig CPU_MIPS64 297c57dafb5SDaniel Schwierzeck bool 298c52ebea1SPaul Burton default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6 299c57dafb5SDaniel Schwierzeck 3000315a289SDaniel Schwierzeckconfig MIPS_TUNE_4KC 3010315a289SDaniel Schwierzeck bool 3020315a289SDaniel Schwierzeck 3030315a289SDaniel Schwierzeckconfig MIPS_TUNE_14KC 3040315a289SDaniel Schwierzeck bool 3050315a289SDaniel Schwierzeck 3060315a289SDaniel Schwierzeckconfig MIPS_TUNE_24KC 3070315a289SDaniel Schwierzeck bool 3080315a289SDaniel Schwierzeck 3095f9cc363SDaniel Schwierzeckconfig MIPS_TUNE_34KC 3105f9cc363SDaniel Schwierzeck bool 3115f9cc363SDaniel Schwierzeck 3120a0a958bSMarek Vasutconfig MIPS_TUNE_74KC 3130a0a958bSMarek Vasut bool 3140a0a958bSMarek Vasut 31502611cbbSDaniel Schwierzeckconfig 32BIT 31602611cbbSDaniel Schwierzeck bool 31702611cbbSDaniel Schwierzeck 31802611cbbSDaniel Schwierzeckconfig 64BIT 31902611cbbSDaniel Schwierzeck bool 32002611cbbSDaniel Schwierzeck 3219d638eeaSDaniel Schwierzeckconfig SWAP_IO_SPACE 3229d638eeaSDaniel Schwierzeck bool 3239d638eeaSDaniel Schwierzeck 324dd7c7200SPaul Burtonconfig SYS_MIPS_CACHE_INIT_RAM_LOAD 325dd7c7200SPaul Burton bool 326dd7c7200SPaul Burton 327924ad866SDaniel Schwierzeckconfig MIPS_INIT_STACK_IN_SRAM 328924ad866SDaniel Schwierzeck bool 329924ad866SDaniel Schwierzeck default n 330924ad866SDaniel Schwierzeck help 331924ad866SDaniel Schwierzeck Select this if the initial stack frame could be setup in SRAM. 332924ad866SDaniel Schwierzeck Normally the initial stack frame is set up in DRAM which is often 333924ad866SDaniel Schwierzeck only available after lowlevel_init. With this option the initial 334924ad866SDaniel Schwierzeck stack frame and the early C environment is set up before 335924ad866SDaniel Schwierzeck lowlevel_init. Thus lowlevel_init does not need to be implemented 336924ad866SDaniel Schwierzeck in assembler. 337924ad866SDaniel Schwierzeck 338ace3be4fSPaul Burtonconfig SYS_DCACHE_SIZE 339ace3be4fSPaul Burton int 340ace3be4fSPaul Burton default 0 341ace3be4fSPaul Burton help 342ace3be4fSPaul Burton The total size of the L1 Dcache, if known at compile time. 343ace3be4fSPaul Burton 34437228621SPaul Burtonconfig SYS_DCACHE_LINE_SIZE 3454b7b0a0fSPaul Burton int 34637228621SPaul Burton default 0 34737228621SPaul Burton help 34837228621SPaul Burton The size of L1 Dcache lines, if known at compile time. 34937228621SPaul Burton 350ace3be4fSPaul Burtonconfig SYS_ICACHE_SIZE 351ace3be4fSPaul Burton int 352ace3be4fSPaul Burton default 0 353ace3be4fSPaul Burton help 354ace3be4fSPaul Burton The total size of the L1 ICache, if known at compile time. 355ace3be4fSPaul Burton 35637228621SPaul Burtonconfig SYS_ICACHE_LINE_SIZE 357ace3be4fSPaul Burton int 358ace3be4fSPaul Burton default 0 359ace3be4fSPaul Burton help 36037228621SPaul Burton The size of L1 Icache lines, if known at compile time. 361ace3be4fSPaul Burton 362ace3be4fSPaul Burtonconfig SYS_CACHE_SIZE_AUTO 363ace3be4fSPaul Burton def_bool y if SYS_DCACHE_SIZE = 0 && SYS_ICACHE_SIZE = 0 && \ 36437228621SPaul Burton SYS_DCACHE_LINE_SIZE = 0 && SYS_ICACHE_LINE_SIZE = 0 365ace3be4fSPaul Burton help 366ace3be4fSPaul Burton Select this (or let it be auto-selected by not defining any cache 367ace3be4fSPaul Burton sizes) in order to allow U-Boot to automatically detect the sizes 368ace3be4fSPaul Burton of caches at runtime. This has a small cost in code size & runtime 369ace3be4fSPaul Burton so if you know the cache configuration for your system at compile 370ace3be4fSPaul Burton time it would be beneficial to configure it. 371ace3be4fSPaul Burton 372f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_4 373f53830e7SDaniel Schwierzeck bool 374f53830e7SDaniel Schwierzeck 375f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_5 376f53830e7SDaniel Schwierzeck bool 377f53830e7SDaniel Schwierzeck 378f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_6 379f53830e7SDaniel Schwierzeck bool 380f53830e7SDaniel Schwierzeck 381f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_7 382f53830e7SDaniel Schwierzeck bool 383f53830e7SDaniel Schwierzeck 384f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT 385f53830e7SDaniel Schwierzeck int 386f53830e7SDaniel Schwierzeck default "7" if MIPS_L1_CACHE_SHIFT_7 387f53830e7SDaniel Schwierzeck default "6" if MIPS_L1_CACHE_SHIFT_6 388f53830e7SDaniel Schwierzeck default "5" if MIPS_L1_CACHE_SHIFT_5 389f53830e7SDaniel Schwierzeck default "4" if MIPS_L1_CACHE_SHIFT_4 390f53830e7SDaniel Schwierzeck default "5" 391f53830e7SDaniel Schwierzeck 3924baa0ab6SPaul Burtonconfig MIPS_L2_CACHE 3934baa0ab6SPaul Burton bool 3944baa0ab6SPaul Burton help 3954baa0ab6SPaul Burton Select this if your system includes an L2 cache and you want U-Boot 3964baa0ab6SPaul Burton to initialise & maintain it. 3974baa0ab6SPaul Burton 39805e34255SPaul Burtonconfig DYNAMIC_IO_PORT_BASE 39905e34255SPaul Burton bool 40005e34255SPaul Burton 401b2b135d9SPaul Burtonconfig MIPS_CM 402b2b135d9SPaul Burton bool 403b2b135d9SPaul Burton help 404b2b135d9SPaul Burton Select this if your system contains a MIPS Coherence Manager and you 405b2b135d9SPaul Burton wish U-Boot to configure it or make use of it to retrieve system 406b2b135d9SPaul Burton information such as cache configuration. 407b2b135d9SPaul Burton 4080e1dc345SDaniel Schwierzeckendif 4090e1dc345SDaniel Schwierzeck 410dd84058dSMasahiro Yamadaendmenu 411