diff options
author | Cédric Le Goater <clg@kaod.org> | 2016-12-07 10:06:34 -0800 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2016-12-08 10:17:22 +1100 |
commit | 207efe13a7e6eb52faf33efc52a4650a10afa27d (patch) | |
tree | 570e700416f533398c5154474ebf7e394a465768 /common | |
parent | f9b2a49f57c153c7358f9769234c0cefdf4de8d4 (diff) | |
download | blackbird-obmc-uboot-207efe13a7e6eb52faf33efc52a4650a10afa27d.tar.gz blackbird-obmc-uboot-207efe13a7e6eb52faf33efc52a4650a10afa27d.zip |
aspeed: remove hack loading ramdisk in memory
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Rick Altherr <raltherr@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'common')
-rw-r--r-- | common/image.c | 11 |
1 files changed, 0 insertions, 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)) { |