diff options
author | Simon Horman <horms@verge.net.au> | 2011-04-26 01:29:53 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-06-29 05:00:52 -0400 |
commit | 090ab3ff8ebb842c0f159d34d57d6e51bd94ace1 (patch) | |
tree | 76b2dd13d94313c9ef9d417cc04e38e500ebf07c /arch/arm/Kconfig | |
parent | 74facffeca3795ffb5cf8898f5859fbb822e4c5d (diff) |
ARM: 6886/1: mmc, Add zboot from eSD support for SuperH Mobile ARM
This allows a ROM-able zImage to be written to eSD and for SuperH Mobile
ARM to boot directly from the SDHI hardware block.
This is achieved by the MaskROM loading the first portion of the image into
MERAM and then jumping to it. This portion contains loader code which
copies the entire image to SDRAM and jumps to it. From there the zImage
boot code proceeds as normal, uncompressing the image into its final
location and then jumping to it.
Cc: Paul Mundt <lethal@linux-sh.org>
Acked-by: Magnus Damm <magnus.damm@gmail.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index cc0dcbf1f6b5..cd8f520dd03d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1718,17 +1718,34 @@ config ZBOOT_ROM | |||
1718 | Say Y here if you intend to execute your compressed kernel image | 1718 | Say Y here if you intend to execute your compressed kernel image |
1719 | (zImage) directly from ROM or flash. If unsure, say N. | 1719 | (zImage) directly from ROM or flash. If unsure, say N. |
1720 | 1720 | ||
1721 | choice | ||
1722 | prompt "Include SD/MMC loader in zImage (EXPERIMENTAL)" | ||
1723 | depends on ZBOOT_ROM && ARCH_SH7372 && EXPERIMENTAL | ||
1724 | default ZBOOT_ROM_NONE | ||
1725 | help | ||
1726 | Include experimental SD/MMC loading code in the ROM-able zImage. | ||
1727 | With this enabled it is possible to write the the ROM-able zImage | ||
1728 | kernel image to an MMC or SD card and boot the kernel straight | ||
1729 | from the reset vector. At reset the processor Mask ROM will load | ||
1730 | the first part of the the ROM-able zImage which in turn loads the | ||
1731 | rest the kernel image to RAM. | ||
1732 | |||
1733 | config ZBOOT_ROM_NONE | ||
1734 | bool "No SD/MMC loader in zImage (EXPERIMENTAL)" | ||
1735 | help | ||
1736 | Do not load image from SD or MMC | ||
1737 | |||
1721 | config ZBOOT_ROM_MMCIF | 1738 | config ZBOOT_ROM_MMCIF |
1722 | bool "Include MMCIF loader in zImage (EXPERIMENTAL)" | 1739 | bool "Include MMCIF loader in zImage (EXPERIMENTAL)" |
1723 | depends on ZBOOT_ROM && ARCH_SH7372 && EXPERIMENTAL | ||
1724 | help | 1740 | help |
1725 | Say Y here to include experimental MMCIF loading code in the | 1741 | Load image from MMCIF hardware block. |
1726 | ROM-able zImage. With this enabled it is possible to write the | 1742 | |
1727 | the ROM-able zImage kernel image to an MMC card and boot the | 1743 | config ZBOOT_ROM_SH_MOBILE_SDHI |
1728 | kernel straight from the reset vector. At reset the processor | 1744 | bool "Include SuperH Mobile SDHI loader in zImage (EXPERIMENTAL)" |
1729 | Mask ROM will load the first part of the the ROM-able zImage | 1745 | help |
1730 | which in turn loads the rest the kernel image to RAM using the | 1746 | Load image from SDHI hardware block |
1731 | MMCIF hardware block. | 1747 | |
1748 | endchoice | ||
1732 | 1749 | ||
1733 | config CMDLINE | 1750 | config CMDLINE |
1734 | string "Default kernel command string" | 1751 | string "Default kernel command string" |