1b9dbdce1SRalf Baechle# 2b9dbdce1SRalf Baechle# SGI IP22 (Indy/Indigo2) 3b9dbdce1SRalf Baechle# 4b9dbdce1SRalf Baechle# Set the load address to >= 0xffffffff88069000 if you want to leave space for 5b9dbdce1SRalf Baechle# symmon, 0xffffffff80002000 for production kernels. Note that the value must 6b9dbdce1SRalf Baechle# be aligned to a multiple of the kernel stack size or the handling of the 7b9dbdce1SRalf Baechle# current variable will break so for 64-bit kernels we have to raise the start 8b9dbdce1SRalf Baechle# address by 8kb. 9b9dbdce1SRalf Baechle# 10b9dbdce1SRalf Baechleplatform-$(CONFIG_SGI_IP22) += sgi-ip22/ 11b9dbdce1SRalf Baechlecflags-$(CONFIG_SGI_IP22) += -I$(srctree)/arch/mips/include/asm/mach-ip22 12b9dbdce1SRalf Baechleifdef CONFIG_32BIT 13b9dbdce1SRalf Baechleload-$(CONFIG_SGI_IP22) += 0xffffffff88002000 14b9dbdce1SRalf Baechleendif 15b9dbdce1SRalf Baechleifdef CONFIG_64BIT 16b9dbdce1SRalf Baechleload-$(CONFIG_SGI_IP22) += 0xffffffff88004000 17b9dbdce1SRalf Baechleendif 18b9dbdce1SRalf Baechle 19b9dbdce1SRalf Baechle# 20b9dbdce1SRalf Baechle# SGI IP28 (Indigo2 R10k) 21b9dbdce1SRalf Baechle# 22b9dbdce1SRalf Baechle# Set the load address to >= 0xa800000020080000 if you want to leave space for 23b9dbdce1SRalf Baechle# symmon, 0xa800000020004000 for production kernels ? Note that the value must 24b9dbdce1SRalf Baechle# be 16kb aligned or the handling of the current variable will break. 25b9dbdce1SRalf Baechle# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys 26b9dbdce1SRalf Baechle# 27b9dbdce1SRalf Baechleifdef CONFIG_SGI_IP28 28b9dbdce1SRalf Baechle ifeq ($(call cc-option-yn,-mr10k-cache-barrier=store), n) 29b9dbdce1SRalf Baechle $(error gcc doesn't support needed option -mr10k-cache-barrier=store) 30b9dbdce1SRalf Baechle endif 31b9dbdce1SRalf Baechleendif 32b9dbdce1SRalf Baechleplatform-$(CONFIG_SGI_IP28) += sgi-ip22/ 33b9dbdce1SRalf Baechlecflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28 34b9dbdce1SRalf Baechleload-$(CONFIG_SGI_IP28) += 0xa800000020004000 35