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