Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
#
|
|
# SGI IP22 (Indy/Indigo2)
|
|
#
|
|
# Set the load address to >= 0xffffffff88069000 if you want to leave space for
|
|
# symmon, 0xffffffff80002000 for production kernels. Note that the value must
|
|
# be aligned to a multiple of the kernel stack size or the handling of the
|
|
# current variable will break so for 64-bit kernels we have to raise the start
|
|
# address by 8kb.
|
|
#
|
|
platform-$(CONFIG_SGI_IP22) += sgi-ip22/
|
|
cflags-$(CONFIG_SGI_IP22) += -I$(srctree)/arch/mips/include/asm/mach-ip22
|
|
ifdef CONFIG_32BIT
|
|
load-$(CONFIG_SGI_IP22) += 0xffffffff88002000
|
|
endif
|
|
ifdef CONFIG_64BIT
|
|
load-$(CONFIG_SGI_IP22) += 0xffffffff88004000
|
|
endif
|
|
|
|
#
|
|
# SGI IP28 (Indigo2 R10k)
|
|
#
|
|
# Set the load address to >= 0xa800000020080000 if you want to leave space for
|
|
# symmon, 0xa800000020004000 for production kernels ? Note that the value must
|
|
# be 16kb aligned or the handling of the current variable will break.
|
|
# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys
|
|
#
|
|
ifdef CONFIG_SGI_IP28
|
|
ifeq ($(call cc-option-yn,-march=r10000 -mr10k-cache-barrier=store), n)
|
|
$(error gcc doesn't support needed option -mr10k-cache-barrier=store)
|
|
endif
|
|
endif
|
|
platform-$(CONFIG_SGI_IP28) += sgi-ip22/
|
|
cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28
|
|
load-$(CONFIG_SGI_IP28) += 0xa800000020004000
|