[U-Boot] [PATCH 6/7] Copy the ramdisk from flash for the DNS323
rogan at dawes.za.net
rogan at dawes.za.net
Fri Mar 18 09:10:02 CET 2011
From: Rogan Dawes <rogan at dawes.za.net>
---
common/image.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/image.c b/common/image.c
index f63a2ff..108bb44 100644
--- a/common/image.c
+++ b/common/image.c
@@ -950,7 +950,7 @@ int boot_get_ramdisk (int argc, char * const argv[], bootm_headers_t *images,
return 1;
}
-#if defined(CONFIG_B2) || defined(CONFIG_EVB4510) || defined(CONFIG_ARMADILLO)
+#if defined(CONFIG_B2) || defined(CONFIG_EVB4510) || defined(CONFIG_ARMADILLO) || defined(CONFIG_MACH_DNS323)
/*
* We need to copy the ramdisk to SRAM to let Linux boot
*/
@@ -958,7 +958,7 @@ int boot_get_ramdisk (int argc, char * const argv[], bootm_headers_t *images,
memmove ((void *)rd_load, (uchar *)rd_data, rd_len);
rd_data = rd_load;
}
-#endif /* CONFIG_B2 || CONFIG_EVB4510 || CONFIG_ARMADILLO */
+#endif /* CONFIG_B2 || CONFIG_EVB4510 || CONFIG_ARMADILLO || CONFIG_MACH_DNS323 */
} else if (images->legacy_hdr_valid &&
image_check_type (&images->legacy_hdr_os_copy, IH_TYPE_MULTI)) {
--
1.7.1
More information about the U-Boot
mailing list