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