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" 175ed063d1SMichal 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 235ed063d1SMichal 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 31d1c3d8bdSDaniel Schwierzeck select MIPS_INSERT_BOOT_CONFIG 325ed063d1SMichal Simek select MIPS_L1_CACHE_SHIFT_6 33566ce04dSPaul Burton select MIPS_L2_CACHE 346242aa13SPaul Burton select OF_CONTROL 356242aa13SPaul Burton select OF_ISA_BUS 365ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 370e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 3802611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 3902611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 4040ba13c9SPaul Burton select SUPPORTS_CPU_MIPS32_R6 410f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R1 420f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R2 430f832b9cSPaul Burton select SUPPORTS_CPU_MIPS64_R6 445ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 459d638eeaSDaniel Schwierzeck select SWAP_IO_SPACE 4608a00cbaSMichal Simek imply CMD_DM 47dd84058dSMasahiro Yamada 48dd84058dSMasahiro Yamadaconfig TARGET_VCT 49dd84058dSMasahiro Yamada bool "Support vct" 505ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 510e1dc345SDaniel Schwierzeck select SUPPORTS_BIG_ENDIAN 5202611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R1 5302611cbbSDaniel Schwierzeck select SUPPORTS_CPU_MIPS32_R2 54dd7c7200SPaul Burton select SYS_MIPS_CACHE_INIT_RAM_LOAD 55dd84058dSMasahiro Yamada 561d3d0f1fSWills Wangconfig ARCH_ATH79 571d3d0f1fSWills Wang bool "Support QCA/Atheros ath79" 581d3d0f1fSWills Wang select DM 595ed063d1SMichal Simek select OF_CONTROL 6008a00cbaSMichal Simek imply CMD_DM 611d3d0f1fSWills Wang 62ee422142SÁlvaro Fernández Rojasconfig ARCH_BMIPS 63ee422142SÁlvaro Fernández Rojas bool "Support BMIPS SoCs" 64ee422142SÁlvaro Fernández Rojas select CLK 65ee422142SÁlvaro Fernández Rojas select CPU 665ed063d1SMichal Simek select DM 675ed063d1SMichal Simek select OF_CONTROL 68ee422142SÁlvaro Fernández Rojas select RAM 69ee422142SÁlvaro Fernández Rojas select SYSRESET 7008a00cbaSMichal Simek imply CMD_DM 71ee422142SÁlvaro Fernández Rojas 7232c1a6eeSPurna Chandra Mandalconfig MACH_PIC32 7332c1a6eeSPurna Chandra Mandal bool "Support Microchip PIC32" 7432c1a6eeSPurna Chandra Mandal select DM 755ed063d1SMichal Simek select OF_CONTROL 7608a00cbaSMichal Simek imply CMD_DM 7732c1a6eeSPurna Chandra Mandal 78ad8783cbSPaul Burtonconfig TARGET_BOSTON 79ad8783cbSPaul Burton bool "Support Boston" 80ad8783cbSPaul Burton select DM 81ad8783cbSPaul Burton select DM_SERIAL 82ad8783cbSPaul Burton select MIPS_CM 83ad8783cbSPaul Burton select MIPS_L1_CACHE_SHIFT_6 84ad8783cbSPaul Burton select MIPS_L2_CACHE 85d2b12a57SPaul Burton select OF_BOARD_SETUP 865ed063d1SMichal Simek select OF_CONTROL 875ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 88ad8783cbSPaul Burton select SUPPORTS_BIG_ENDIAN 89ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R1 90ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R2 91ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS32_R6 92ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R1 93ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R2 94ad8783cbSPaul Burton select SUPPORTS_CPU_MIPS64_R6 955ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 9608a00cbaSMichal Simek imply CMD_DM 97ad8783cbSPaul Burton 98ebf2b9e3SZubair Lutfullah Kakakhelconfig TARGET_XILFPGA 99ebf2b9e3SZubair Lutfullah Kakakhel bool "Support Imagination Xilfpga" 100ebf2b9e3SZubair Lutfullah Kakakhel select DM 101ebf2b9e3SZubair Lutfullah Kakakhel select DM_ETH 1025ed063d1SMichal Simek select DM_GPIO 1035ed063d1SMichal Simek select DM_SERIAL 1045ed063d1SMichal Simek select MIPS_L1_CACHE_SHIFT_4 1055ed063d1SMichal Simek select OF_CONTROL 1065ed063d1SMichal Simek select ROM_EXCEPTION_VECTORS 107ebf2b9e3SZubair Lutfullah Kakakhel select SUPPORTS_CPU_MIPS32_R1 108ebf2b9e3SZubair Lutfullah Kakakhel select SUPPORTS_CPU_MIPS32_R2 1095ed063d1SMichal Simek select SUPPORTS_LITTLE_ENDIAN 11008a00cbaSMichal Simek imply CMD_DM 111ebf2b9e3SZubair Lutfullah Kakakhel help 112ebf2b9e3SZubair Lutfullah Kakakhel This supports IMGTEC MIPSfpga platform 113ebf2b9e3SZubair Lutfullah Kakakhel 114dd84058dSMasahiro Yamadaendchoice 115dd84058dSMasahiro Yamada 116ad8783cbSPaul Burtonsource "board/imgtec/boston/Kconfig" 117dd84058dSMasahiro Yamadasource "board/imgtec/malta/Kconfig" 118ebf2b9e3SZubair Lutfullah Kakakhelsource "board/imgtec/xilfpga/Kconfig" 119dd84058dSMasahiro Yamadasource "board/micronas/vct/Kconfig" 120dd84058dSMasahiro Yamadasource "board/qemu-mips/Kconfig" 1211d3d0f1fSWills Wangsource "arch/mips/mach-ath79/Kconfig" 122ee422142SÁlvaro Fernández Rojassource "arch/mips/mach-bmips/Kconfig" 12332c1a6eeSPurna Chandra Mandalsource "arch/mips/mach-pic32/Kconfig" 124dd84058dSMasahiro Yamada 1250e1dc345SDaniel Schwierzeckif MIPS 1260e1dc345SDaniel Schwierzeck 1270e1dc345SDaniel Schwierzeckchoice 1280e1dc345SDaniel Schwierzeck prompt "Endianness selection" 1290e1dc345SDaniel Schwierzeck help 1300e1dc345SDaniel Schwierzeck Some MIPS boards can be configured for either little or big endian 1310e1dc345SDaniel Schwierzeck byte order. These modes require different U-Boot images. In general there 1320e1dc345SDaniel Schwierzeck is one preferred byteorder for a particular system but some systems are 1330e1dc345SDaniel Schwierzeck just as commonly used in the one or the other endianness. 1340e1dc345SDaniel Schwierzeck 1350e1dc345SDaniel Schwierzeckconfig SYS_BIG_ENDIAN 1360e1dc345SDaniel Schwierzeck bool "Big endian" 1370e1dc345SDaniel Schwierzeck depends on SUPPORTS_BIG_ENDIAN 1380e1dc345SDaniel Schwierzeck 1390e1dc345SDaniel Schwierzeckconfig SYS_LITTLE_ENDIAN 1400e1dc345SDaniel Schwierzeck bool "Little endian" 1410e1dc345SDaniel Schwierzeck depends on SUPPORTS_LITTLE_ENDIAN 1420e1dc345SDaniel Schwierzeck 1430e1dc345SDaniel Schwierzeckendchoice 1440e1dc345SDaniel Schwierzeck 14502611cbbSDaniel Schwierzeckchoice 14602611cbbSDaniel Schwierzeck prompt "CPU selection" 14702611cbbSDaniel Schwierzeck default CPU_MIPS32_R2 14802611cbbSDaniel Schwierzeck 14902611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R1 15002611cbbSDaniel Schwierzeck bool "MIPS32 Release 1" 15102611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R1 15202611cbbSDaniel Schwierzeck select 32BIT 15302611cbbSDaniel Schwierzeck help 154c52ebea1SPaul Burton Choose this option to build an U-Boot for release 1 through 5 of the 15502611cbbSDaniel Schwierzeck MIPS32 architecture. 15602611cbbSDaniel Schwierzeck 15702611cbbSDaniel Schwierzeckconfig CPU_MIPS32_R2 15802611cbbSDaniel Schwierzeck bool "MIPS32 Release 2" 15902611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS32_R2 16002611cbbSDaniel Schwierzeck select 32BIT 16102611cbbSDaniel Schwierzeck help 162c52ebea1SPaul Burton Choose this option to build an U-Boot for release 2 through 5 of the 163c52ebea1SPaul Burton MIPS32 architecture. 164c52ebea1SPaul Burton 165c52ebea1SPaul Burtonconfig CPU_MIPS32_R6 166c52ebea1SPaul Burton bool "MIPS32 Release 6" 167c52ebea1SPaul Burton depends on SUPPORTS_CPU_MIPS32_R6 168c52ebea1SPaul Burton select 32BIT 169c52ebea1SPaul Burton help 170c52ebea1SPaul Burton Choose this option to build an U-Boot for release 6 or later of the 17102611cbbSDaniel Schwierzeck MIPS32 architecture. 17202611cbbSDaniel Schwierzeck 17302611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R1 17402611cbbSDaniel Schwierzeck bool "MIPS64 Release 1" 17502611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R1 17602611cbbSDaniel Schwierzeck select 64BIT 17702611cbbSDaniel Schwierzeck help 178c52ebea1SPaul Burton Choose this option to build a kernel for release 1 through 5 of the 17902611cbbSDaniel Schwierzeck MIPS64 architecture. 18002611cbbSDaniel Schwierzeck 18102611cbbSDaniel Schwierzeckconfig CPU_MIPS64_R2 18202611cbbSDaniel Schwierzeck bool "MIPS64 Release 2" 18302611cbbSDaniel Schwierzeck depends on SUPPORTS_CPU_MIPS64_R2 18402611cbbSDaniel Schwierzeck select 64BIT 18502611cbbSDaniel Schwierzeck help 186c52ebea1SPaul Burton Choose this option to build a kernel for release 2 through 5 of the 187c52ebea1SPaul Burton MIPS64 architecture. 188c52ebea1SPaul Burton 189c52ebea1SPaul Burtonconfig CPU_MIPS64_R6 190c52ebea1SPaul Burton bool "MIPS64 Release 6" 191c52ebea1SPaul Burton depends on SUPPORTS_CPU_MIPS64_R6 192c52ebea1SPaul Burton select 64BIT 193c52ebea1SPaul Burton help 194c52ebea1SPaul Burton Choose this option to build a kernel for release 6 or later of the 19502611cbbSDaniel Schwierzeck MIPS64 architecture. 19602611cbbSDaniel Schwierzeck 19702611cbbSDaniel Schwierzeckendchoice 19802611cbbSDaniel Schwierzeck 199af3971f8SDaniel Schwierzeckmenu "General setup" 200af3971f8SDaniel Schwierzeck 201af3971f8SDaniel Schwierzeckconfig ROM_EXCEPTION_VECTORS 202af3971f8SDaniel Schwierzeck bool "Build U-Boot image with exception vectors" 203af3971f8SDaniel Schwierzeck help 204af3971f8SDaniel Schwierzeck Enable this to include exception vectors in the U-Boot image. This is 205af3971f8SDaniel Schwierzeck required if the U-Boot entry point is equal to the address of the 206af3971f8SDaniel Schwierzeck CPU reset exception vector (e.g. U-Boot as ROM loader in Qemu, 207af3971f8SDaniel Schwierzeck U-Boot booted from parallel NOR flash). 208af3971f8SDaniel Schwierzeck Disable this, if the U-Boot image is booted from DRAM (e.g. by SPL). 209af3971f8SDaniel Schwierzeck In that case the image size will be reduced by 0x500 bytes. 210af3971f8SDaniel Schwierzeck 211939a255aSPaul Burtonconfig MIPS_CM_BASE 212939a255aSPaul Burton hex "MIPS CM GCR Base Address" 213939a255aSPaul Burton depends on MIPS_CM 214ed048e7cSPaul Burton default 0x16100000 if TARGET_BOSTON 215939a255aSPaul Burton default 0x1fbf8000 216939a255aSPaul Burton help 217939a255aSPaul Burton The physical base address at which to map the MIPS Coherence Manager 218939a255aSPaul Burton Global Configuration Registers (GCRs). This should be set such that 219939a255aSPaul Burton the GCRs occupy a region of the physical address space which is 220939a255aSPaul Burton otherwise unused, or at minimum that software doesn't need to access. 221939a255aSPaul Burton 222*5ef337a0SDaniel Schwierzeckconfig MIPS_CACHE_INDEX_BASE 223*5ef337a0SDaniel Schwierzeck hex "Index base address for cache initialisation" 224*5ef337a0SDaniel Schwierzeck default 0x80000000 if CPU_MIPS32 225*5ef337a0SDaniel Schwierzeck default 0xffffffff80000000 if CPU_MIPS64 226*5ef337a0SDaniel Schwierzeck help 227*5ef337a0SDaniel Schwierzeck This is the base address for a memory block, which is used for 228*5ef337a0SDaniel Schwierzeck initialising the cache lines. This is also the base address of a memory 229*5ef337a0SDaniel Schwierzeck block which is used for loading and filling cache lines when 230*5ef337a0SDaniel Schwierzeck SYS_MIPS_CACHE_INIT_RAM_LOAD is selected. 231*5ef337a0SDaniel Schwierzeck Normally this is CKSEG0. If the MIPS system needs to move this block 232*5ef337a0SDaniel Schwierzeck to some SRAM or ScratchPad RAM, adapt this option accordingly. 233*5ef337a0SDaniel Schwierzeck 234af3971f8SDaniel Schwierzeckendmenu 235af3971f8SDaniel Schwierzeck 23625fc664fSDaniel Schwierzeckmenu "OS boot interface" 23725fc664fSDaniel Schwierzeck 23825fc664fSDaniel Schwierzeckconfig MIPS_BOOT_CMDLINE_LEGACY 23925fc664fSDaniel Schwierzeck bool "Hand over legacy command line to Linux kernel" 24025fc664fSDaniel Schwierzeck default y 24125fc664fSDaniel Schwierzeck help 24225fc664fSDaniel Schwierzeck Enable this option if you want U-Boot to hand over the Yamon-style 24325fc664fSDaniel Schwierzeck command line to the kernel. All bootargs will be prepared as argc/argv 24425fc664fSDaniel Schwierzeck compatible list. The argument count (argc) is stored in register $a0. 24525fc664fSDaniel Schwierzeck The address of the argument list (argv) is stored in register $a1. 24625fc664fSDaniel Schwierzeck 247ca65e585SDaniel Schwierzeckconfig MIPS_BOOT_ENV_LEGACY 248ca65e585SDaniel Schwierzeck bool "Hand over legacy environment to Linux kernel" 249ca65e585SDaniel Schwierzeck default y 250ca65e585SDaniel Schwierzeck help 251ca65e585SDaniel Schwierzeck Enable this option if you want U-Boot to hand over the Yamon-style 252ca65e585SDaniel Schwierzeck environment to the kernel. Information like memory size, initrd 253ca65e585SDaniel Schwierzeck address and size will be prepared as zero-terminated key/value list. 2541cc0a9f4SRobert P. J. Day The address of the environment is stored in register $a2. 255ca65e585SDaniel Schwierzeck 2565002d8ccSDaniel Schwierzeckconfig MIPS_BOOT_FDT 25790b1c9faSDaniel Schwierzeck bool "Hand over a flattened device tree to Linux kernel" 2585002d8ccSDaniel Schwierzeck default n 2595002d8ccSDaniel Schwierzeck help 2605002d8ccSDaniel Schwierzeck Enable this option if you want U-Boot to hand over a flattened 26190b1c9faSDaniel Schwierzeck device tree to the kernel. According to UHI register $a0 will be set 26290b1c9faSDaniel Schwierzeck to -2 and the FDT address is stored in $a1. 2635002d8ccSDaniel Schwierzeck 26425fc664fSDaniel Schwierzeckendmenu 26525fc664fSDaniel Schwierzeck 2660e1dc345SDaniel Schwierzeckconfig SUPPORTS_BIG_ENDIAN 2670e1dc345SDaniel Schwierzeck bool 2680e1dc345SDaniel Schwierzeck 2690e1dc345SDaniel Schwierzeckconfig SUPPORTS_LITTLE_ENDIAN 2700e1dc345SDaniel Schwierzeck bool 2710e1dc345SDaniel Schwierzeck 27202611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R1 27302611cbbSDaniel Schwierzeck bool 27402611cbbSDaniel Schwierzeck 27502611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS32_R2 27602611cbbSDaniel Schwierzeck bool 27702611cbbSDaniel Schwierzeck 278c52ebea1SPaul Burtonconfig SUPPORTS_CPU_MIPS32_R6 279c52ebea1SPaul Burton bool 280c52ebea1SPaul Burton 28102611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R1 28202611cbbSDaniel Schwierzeck bool 28302611cbbSDaniel Schwierzeck 28402611cbbSDaniel Schwierzeckconfig SUPPORTS_CPU_MIPS64_R2 28502611cbbSDaniel Schwierzeck bool 28602611cbbSDaniel Schwierzeck 287c52ebea1SPaul Burtonconfig SUPPORTS_CPU_MIPS64_R6 288c52ebea1SPaul Burton bool 289c52ebea1SPaul Burton 290c57dafb5SDaniel Schwierzeckconfig CPU_MIPS32 291c57dafb5SDaniel Schwierzeck bool 292c52ebea1SPaul Burton default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 293c57dafb5SDaniel Schwierzeck 294c57dafb5SDaniel Schwierzeckconfig CPU_MIPS64 295c57dafb5SDaniel Schwierzeck bool 296c52ebea1SPaul Burton default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6 297c57dafb5SDaniel Schwierzeck 2980315a289SDaniel Schwierzeckconfig MIPS_TUNE_4KC 2990315a289SDaniel Schwierzeck bool 3000315a289SDaniel Schwierzeck 3010315a289SDaniel Schwierzeckconfig MIPS_TUNE_14KC 3020315a289SDaniel Schwierzeck bool 3030315a289SDaniel Schwierzeck 3040315a289SDaniel Schwierzeckconfig MIPS_TUNE_24KC 3050315a289SDaniel Schwierzeck bool 3060315a289SDaniel Schwierzeck 3075f9cc363SDaniel Schwierzeckconfig MIPS_TUNE_34KC 3085f9cc363SDaniel Schwierzeck bool 3095f9cc363SDaniel Schwierzeck 3100a0a958bSMarek Vasutconfig MIPS_TUNE_74KC 3110a0a958bSMarek Vasut bool 3120a0a958bSMarek Vasut 31302611cbbSDaniel Schwierzeckconfig 32BIT 31402611cbbSDaniel Schwierzeck bool 31502611cbbSDaniel Schwierzeck 31602611cbbSDaniel Schwierzeckconfig 64BIT 31702611cbbSDaniel Schwierzeck bool 31802611cbbSDaniel Schwierzeck 3199d638eeaSDaniel Schwierzeckconfig SWAP_IO_SPACE 3209d638eeaSDaniel Schwierzeck bool 3219d638eeaSDaniel Schwierzeck 322dd7c7200SPaul Burtonconfig SYS_MIPS_CACHE_INIT_RAM_LOAD 323dd7c7200SPaul Burton bool 324dd7c7200SPaul Burton 325924ad866SDaniel Schwierzeckconfig MIPS_INIT_STACK_IN_SRAM 326924ad866SDaniel Schwierzeck bool 327924ad866SDaniel Schwierzeck default n 328924ad866SDaniel Schwierzeck help 329924ad866SDaniel Schwierzeck Select this if the initial stack frame could be setup in SRAM. 330924ad866SDaniel Schwierzeck Normally the initial stack frame is set up in DRAM which is often 331924ad866SDaniel Schwierzeck only available after lowlevel_init. With this option the initial 332924ad866SDaniel Schwierzeck stack frame and the early C environment is set up before 333924ad866SDaniel Schwierzeck lowlevel_init. Thus lowlevel_init does not need to be implemented 334924ad866SDaniel Schwierzeck in assembler. 335924ad866SDaniel Schwierzeck 336ace3be4fSPaul Burtonconfig SYS_DCACHE_SIZE 337ace3be4fSPaul Burton int 338ace3be4fSPaul Burton default 0 339ace3be4fSPaul Burton help 340ace3be4fSPaul Burton The total size of the L1 Dcache, if known at compile time. 341ace3be4fSPaul Burton 34237228621SPaul Burtonconfig SYS_DCACHE_LINE_SIZE 3434b7b0a0fSPaul Burton int 34437228621SPaul Burton default 0 34537228621SPaul Burton help 34637228621SPaul Burton The size of L1 Dcache lines, if known at compile time. 34737228621SPaul Burton 348ace3be4fSPaul Burtonconfig SYS_ICACHE_SIZE 349ace3be4fSPaul Burton int 350ace3be4fSPaul Burton default 0 351ace3be4fSPaul Burton help 352ace3be4fSPaul Burton The total size of the L1 ICache, if known at compile time. 353ace3be4fSPaul Burton 35437228621SPaul Burtonconfig SYS_ICACHE_LINE_SIZE 355ace3be4fSPaul Burton int 356ace3be4fSPaul Burton default 0 357ace3be4fSPaul Burton help 35837228621SPaul Burton The size of L1 Icache lines, if known at compile time. 359ace3be4fSPaul Burton 360ace3be4fSPaul Burtonconfig SYS_CACHE_SIZE_AUTO 361ace3be4fSPaul Burton def_bool y if SYS_DCACHE_SIZE = 0 && SYS_ICACHE_SIZE = 0 && \ 36237228621SPaul Burton SYS_DCACHE_LINE_SIZE = 0 && SYS_ICACHE_LINE_SIZE = 0 363ace3be4fSPaul Burton help 364ace3be4fSPaul Burton Select this (or let it be auto-selected by not defining any cache 365ace3be4fSPaul Burton sizes) in order to allow U-Boot to automatically detect the sizes 366ace3be4fSPaul Burton of caches at runtime. This has a small cost in code size & runtime 367ace3be4fSPaul Burton so if you know the cache configuration for your system at compile 368ace3be4fSPaul Burton time it would be beneficial to configure it. 369ace3be4fSPaul Burton 370f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_4 371f53830e7SDaniel Schwierzeck bool 372f53830e7SDaniel Schwierzeck 373f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_5 374f53830e7SDaniel Schwierzeck bool 375f53830e7SDaniel Schwierzeck 376f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_6 377f53830e7SDaniel Schwierzeck bool 378f53830e7SDaniel Schwierzeck 379f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT_7 380f53830e7SDaniel Schwierzeck bool 381f53830e7SDaniel Schwierzeck 382f53830e7SDaniel Schwierzeckconfig MIPS_L1_CACHE_SHIFT 383f53830e7SDaniel Schwierzeck int 384f53830e7SDaniel Schwierzeck default "7" if MIPS_L1_CACHE_SHIFT_7 385f53830e7SDaniel Schwierzeck default "6" if MIPS_L1_CACHE_SHIFT_6 386f53830e7SDaniel Schwierzeck default "5" if MIPS_L1_CACHE_SHIFT_5 387f53830e7SDaniel Schwierzeck default "4" if MIPS_L1_CACHE_SHIFT_4 388f53830e7SDaniel Schwierzeck default "5" 389f53830e7SDaniel Schwierzeck 3904baa0ab6SPaul Burtonconfig MIPS_L2_CACHE 3914baa0ab6SPaul Burton bool 3924baa0ab6SPaul Burton help 3934baa0ab6SPaul Burton Select this if your system includes an L2 cache and you want U-Boot 3944baa0ab6SPaul Burton to initialise & maintain it. 3954baa0ab6SPaul Burton 39605e34255SPaul Burtonconfig DYNAMIC_IO_PORT_BASE 39705e34255SPaul Burton bool 39805e34255SPaul Burton 399b2b135d9SPaul Burtonconfig MIPS_CM 400b2b135d9SPaul Burton bool 401b2b135d9SPaul Burton help 402b2b135d9SPaul Burton Select this if your system contains a MIPS Coherence Manager and you 403b2b135d9SPaul Burton wish U-Boot to configure it or make use of it to retrieve system 404b2b135d9SPaul Burton information such as cache configuration. 405b2b135d9SPaul Burton 406d1c3d8bdSDaniel Schwierzeckconfig MIPS_INSERT_BOOT_CONFIG 407d1c3d8bdSDaniel Schwierzeck bool 408d1c3d8bdSDaniel Schwierzeck default n 409d1c3d8bdSDaniel Schwierzeck help 410d1c3d8bdSDaniel Schwierzeck Enable this to insert some board-specific boot configuration in 411d1c3d8bdSDaniel Schwierzeck the U-Boot binary at offset 0x10. 412d1c3d8bdSDaniel Schwierzeck 413d1c3d8bdSDaniel Schwierzeckconfig MIPS_BOOT_CONFIG_WORD0 414d1c3d8bdSDaniel Schwierzeck hex 415d1c3d8bdSDaniel Schwierzeck depends on MIPS_INSERT_BOOT_CONFIG 416d1c3d8bdSDaniel Schwierzeck default 0x420 if TARGET_MALTA 417d1c3d8bdSDaniel Schwierzeck default 0x0 418d1c3d8bdSDaniel Schwierzeck help 419d1c3d8bdSDaniel Schwierzeck Value which is inserted as boot config word 0. 420d1c3d8bdSDaniel Schwierzeck 421d1c3d8bdSDaniel Schwierzeckconfig MIPS_BOOT_CONFIG_WORD1 422d1c3d8bdSDaniel Schwierzeck hex 423d1c3d8bdSDaniel Schwierzeck depends on MIPS_INSERT_BOOT_CONFIG 424d1c3d8bdSDaniel Schwierzeck default 0x0 425d1c3d8bdSDaniel Schwierzeck help 426d1c3d8bdSDaniel Schwierzeck Value which is inserted as boot config word 1. 427d1c3d8bdSDaniel Schwierzeck 4280e1dc345SDaniel Schwierzeckendif 4290e1dc345SDaniel Schwierzeck 430dd84058dSMasahiro Yamadaendmenu 431