[PATCH] fixup! ARM: i.MX8M: return error if imx_load_image can't honour entry address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Align the now outdated comment with reality.

Suggested-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>
Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 arch/arm/mach-imx/xload-common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-imx/xload-common.c b/arch/arm/mach-imx/xload-common.c
index 32f12cd7f574..e7f8f162ee8f 100644
--- a/arch/arm/mach-imx/xload-common.c
+++ b/arch/arm/mach-imx/xload-common.c
@@ -123,8 +123,8 @@ int imx_load_image(ptrdiff_t address, ptrdiff_t entry, u32 offset,
 
 	if (!start) {
 		/*
-		 * Passing entry different from address is interpreted
-		 * as a request to place the image such that its entry
+		 * When !start, the caller will start the image later on,
+		 * expecting that it is placed such that its entry
 		 * point would be exactly at 'entry', that is:
 		 *
 		 *     buf + ofs = entry
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux