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