Patchwork [U-Boot,6/7] Copy the ramdisk from flash for the DNS323

login
register
mail settings
Submitter Rogan Dawes
Date March 18, 2011, 8:10 a.m.
Message ID <1300435803-4940-7-git-send-email-rogan@dawes.za.net>
Download mbox | patch
Permalink /patch/87505/
State Rejected
Delegated to: Prafulla Wadaskar
Headers show

Comments

Rogan Dawes - March 18, 2011, 8:10 a.m.
From: Rogan Dawes <rogan@dawes.za.net>

---
 common/image.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

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)) {