mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
090ab3ff8e
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>
17 lines
285 B
C
17 lines
285 B
C
#ifndef SDHI_H
|
|
#define SDHI_H
|
|
|
|
/**************************************************
|
|
*
|
|
* CPU specific settings
|
|
*
|
|
**************************************************/
|
|
|
|
#ifdef CONFIG_ARCH_SH7372
|
|
#include "mach/sdhi-sh7372.h"
|
|
#else
|
|
#error "unsupported CPU."
|
|
#endif
|
|
|
|
#endif /* SDHI_H */
|