diff mbox

[U-Boot,v2] cosmetic: FIT: fix a strange comment

Message ID 1392705561-15908-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Feb. 18, 2014, 6:39 a.m. UTC
There is a strange comment in fit_image_load().
This function can be used for loading Kernel Image, FDT
as well as ramdisk.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
---

Changes in v2:
  - Fix a typo in log
    s/ramsisk/ramdisk/

 common/image-fit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Glass Feb. 19, 2014, 4:34 a.m. UTC | #1
On 17 February 2014 22:39, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
>
> There is a strange comment in fit_image_load().
> This function can be used for loading Kernel Image, FDT
> as well as ramdisk.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Simon Glass <sjg@chromium.org>


Acked-by: Simon Glass <sjg@chromium.org>
Tom Rini Feb. 19, 2014, 9:10 p.m. UTC | #2
On Tue, Feb 18, 2014 at 03:39:21PM +0900, Masahiro Yamada wrote:

> There is a strange comment in fit_image_load().
> This function can be used for loading Kernel Image, FDT
> as well as ramdisk.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Simon Glass <sjg@chromium.org>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/common/image-fit.c b/common/image-fit.c
index cf4b67e..b94a3fe 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -1500,7 +1500,7 @@  int fit_image_load(bootm_headers_t *images, const char *prop_name, ulong addr,
 	}
 	bootstage_mark(bootstage_id + BOOTSTAGE_SUB_FORMAT_OK);
 	if (fit_uname) {
-		/* get ramdisk component image node offset */
+		/* get FIT component image node offset */
 		bootstage_mark(bootstage_id + BOOTSTAGE_SUB_UNIT_NAME);
 		noffset = fit_image_get_node(fit, fit_uname);
 	} else {