diff options
author | Barry Song <barry.song@analog.com> | 2010-01-06 23:11:17 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:48 -0500 |
commit | d86bfb1600db38e8387beee0aaab4263cfd728a2 (patch) | |
tree | 95e6f3d77d6dede480d74a7a4b87f2794a5b31fe /arch/blackfin/Kconfig | |
parent | aad16f32284030907b4f105e92e5fb534fd272bc (diff) |
Blackfin: initial XIP support
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index c0d6d966adec..f46db59eac8a 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -26,9 +26,9 @@ config BLACKFIN | |||
26 | select HAVE_FUNCTION_GRAPH_TRACER | 26 | select HAVE_FUNCTION_GRAPH_TRACER |
27 | select HAVE_FUNCTION_TRACER | 27 | select HAVE_FUNCTION_TRACER |
28 | select HAVE_IDE | 28 | select HAVE_IDE |
29 | select HAVE_KERNEL_GZIP | 29 | select HAVE_KERNEL_GZIP if RAMKERNEL |
30 | select HAVE_KERNEL_BZIP2 | 30 | select HAVE_KERNEL_BZIP2 if RAMKERNEL |
31 | select HAVE_KERNEL_LZMA | 31 | select HAVE_KERNEL_LZMA if RAMKERNEL |
32 | select HAVE_OPROFILE | 32 | select HAVE_OPROFILE |
33 | select ARCH_WANT_OPTIONAL_GPIOLIB | 33 | select ARCH_WANT_OPTIONAL_GPIOLIB |
34 | 34 | ||
@@ -407,10 +407,18 @@ config BOOT_LOAD | |||
407 | config ROM_BASE | 407 | config ROM_BASE |
408 | hex "Kernel ROM Base" | 408 | hex "Kernel ROM Base" |
409 | depends on ROMKERNEL | 409 | depends on ROMKERNEL |
410 | default "0x20040000" | 410 | default "0x20040040" |
411 | range 0x20000000 0x20400000 if !(BF54x || BF561) | 411 | range 0x20000000 0x20400000 if !(BF54x || BF561) |
412 | range 0x20000000 0x30000000 if (BF54x || BF561) | 412 | range 0x20000000 0x30000000 if (BF54x || BF561) |
413 | help | 413 | help |
414 | Make sure your ROM base does not include any file-header | ||
415 | information that is prepended to the kernel. | ||
416 | |||
417 | For example, the bootable U-Boot format (created with | ||
418 | mkimage) has a 64 byte header (0x40). So while the image | ||
419 | you write to flash might start at say 0x20080000, you have | ||
420 | to add 0x40 to get the kernel's ROM base as it will come | ||
421 | after the header. | ||
414 | 422 | ||
415 | comment "Clock/PLL Setup" | 423 | comment "Clock/PLL Setup" |
416 | 424 | ||