mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
add kernel image offset configuration which would be used in uboot booti command
Change-Id: I540d5cebb12889628f4efebab5f30c93c08b457b
This commit is contained in:
parent
c90a04e85a
commit
500d91f49b
2 changed files with 9 additions and 0 deletions
|
@ -906,6 +906,14 @@ config ARCH_SUSPEND_POSSIBLE
|
||||||
depends on SOC_SPACEMIT
|
depends on SOC_SPACEMIT
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
|
config IMAGE_LOAD_OFFSET
|
||||||
|
hex "Image load offset from start of RAM when load kernel to RAM"
|
||||||
|
default 0x400000 if 32BIT
|
||||||
|
default 0x200000 if 64BIT
|
||||||
|
help
|
||||||
|
This is the RAM offset from start of ram. Bootloader would use
|
||||||
|
this offset to load kernel image to ram.
|
||||||
|
|
||||||
menu "Power management options"
|
menu "Power management options"
|
||||||
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_NR_CPUS=8
|
||||||
CONFIG_HOTPLUG_CPU=y
|
CONFIG_HOTPLUG_CPU=y
|
||||||
CONFIG_RISCV_SBI_V01=y
|
CONFIG_RISCV_SBI_V01=y
|
||||||
# CONFIG_RISCV_BOOT_SPINWAIT is not set
|
# CONFIG_RISCV_BOOT_SPINWAIT is not set
|
||||||
|
CONFIG_IMAGE_LOAD_OFFSET=0x1400000
|
||||||
CONFIG_PM=y
|
CONFIG_PM=y
|
||||||
CONFIG_CPU_FREQ=y
|
CONFIG_CPU_FREQ=y
|
||||||
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue