From 207efe13a7e6eb52faf33efc52a4650a10afa27d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Wed, 7 Dec 2016 10:06:34 -0800 Subject: aspeed: remove hack loading ramdisk in memory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cédric Le Goater Signed-off-by: Rick Altherr Reviewed-by: Simon Glass Signed-off-by: Joel Stanley --- common/image.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/common/image.c b/common/image.c index 20c4807bde..0be09e5c63 100644 --- a/common/image.c +++ b/common/image.c @@ -1069,17 +1069,6 @@ int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images, return 1; } } -/// TODO ... Check Why .................. -#if defined(CONFIG_ARCH_ASPEED) - /* - * We need to copy the ramdisk to SRAM to let Linux boot - */ - if (rd_data) { - memmove ((void *)rd_load, (uchar *)rd_data, rd_len); - rd_data = rd_load; - } -#endif /* CONFIG_ASPEED */ - } else if (images->legacy_hdr_valid && image_check_type(&images->legacy_hdr_os_copy, IH_TYPE_MULTI)) { -- cgit v1.2.1