diff options
author | Michal Simek <monstr@monstr.eu> | 2010-11-08 12:37:40 +0100 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2011-03-15 10:59:00 +0100 |
commit | 0b9b0200b0922c29dc251b99700f96dade92214a (patch) | |
tree | 23aa052508da168745cddca2a650e1627e29ec4d /arch/microblaze/Kconfig | |
parent | microblaze: Fix _reset function (diff) | |
download | linux-0b9b0200b0922c29dc251b99700f96dade92214a.tar.xz linux-0b9b0200b0922c29dc251b99700f96dade92214a.zip |
microblaze: Do not copy reset vectors/manual reset vector setup
Reset vector can be setup by bootloader and kernel doens't need
to touch it. If you require to setup reset vector, please use
CONFIG_MANUAL_RESET_VECTOR throught menuconfig.
It is not possible to setup address 0x0 as reset address because
make no sense to set it up at all.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: John Williams <john.williams@petalogix.com>
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r-- | arch/microblaze/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 050aca35aca2..922c4194c7bb 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig @@ -184,6 +184,17 @@ config LOWMEM_SIZE hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL default "0x30000000" +config MANUAL_RESET_VECTOR + hex "Microblaze reset vector address setup" + default "0x0" + help + Set this option to have the kernel override the CPU Reset vector. + If zero, no change will be made to the MicroBlaze reset vector at + address 0x0. + If non-zero, a jump instruction to this address, will be written + to the reset vector at address 0x0. + If you are unsure, set it to default value 0x0. + config KERNEL_START_BOOL bool "Set custom kernel base address" depends on ADVANCED_OPTIONS |