xref: /openbmc/linux/arch/mips/sgi-ip22/Platform (revision 048cc237)
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 Baechlecflags-$(CONFIG_SGI_IP22)	+= -I$(srctree)/arch/mips/include/asm/mach-ip22
11b9dbdce1SRalf Baechleifdef CONFIG_32BIT
12b9dbdce1SRalf Baechleload-$(CONFIG_SGI_IP22)		+= 0xffffffff88002000
13b9dbdce1SRalf Baechleendif
14b9dbdce1SRalf Baechleifdef CONFIG_64BIT
15b9dbdce1SRalf Baechleload-$(CONFIG_SGI_IP22)		+= 0xffffffff88004000
16b9dbdce1SRalf Baechleendif
17b9dbdce1SRalf Baechle
18b9dbdce1SRalf Baechle#
19b9dbdce1SRalf Baechle# SGI IP28 (Indigo2 R10k)
20b9dbdce1SRalf Baechle#
21b9dbdce1SRalf Baechle# Set the load address to >= 0xa800000020080000 if you want to leave space for
22b9dbdce1SRalf Baechle# symmon, 0xa800000020004000 for production kernels ?  Note that the value must
23b9dbdce1SRalf Baechle# be 16kb aligned or the handling of the current variable will break.
24b9dbdce1SRalf Baechle# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys
25b9dbdce1SRalf Baechle#
26b9dbdce1SRalf Baechlecflags-$(CONFIG_SGI_IP28)	+= -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28
27b9dbdce1SRalf Baechleload-$(CONFIG_SGI_IP28)		+= 0xa800000020004000
28