diff mbox

[u-boot,12/12] aspeed: remove hack loading ramdisk in memory

Message ID 1475789205-19618-13-git-send-email-clg@kaod.org
State Awaiting Upstream, archived
Headers show

Commit Message

Cédric Le Goater Oct. 6, 2016, 9:26 p.m. UTC
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
 common/image.c | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Joel Stanley Oct. 10, 2016, 6:24 a.m. UTC | #1
On Fri, Oct 7, 2016 at 8:26 AM, Cédric Le Goater <clg@kaod.org> wrote:
> Signed-off-by: Cédric Le Goater <clg@kaod.org>

Reviewed-by: Joel Stanley <joel@jms.id.au>

> ---
>  common/image.c | 11 -----------
>  1 file changed, 11 deletions(-)
diff mbox

Patch

diff --git a/common/image.c b/common/image.c
index 64e5c668f52a..7ad04ca19b80 100644
--- a/common/image.c
+++ b/common/image.c
@@ -1151,17 +1151,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)) {