* [PATCH] ARM: decompressor: clearify a comment and minor typo fixes
@ 2013-03-14 20:24 Uwe Kleine-König
0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2013-03-14 20:24 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
Hello,
this is what I noticed while digging through the decompressor's code.
Uwe
arch/arm/boot/compressed/atags_to_fdt.c | 2 +-
arch/arm/boot/compressed/head.S | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/compressed/atags_to_fdt.c b/arch/arm/boot/compressed/atags_to_fdt.c
index aabc02a..24fa535 100644
--- a/arch/arm/boot/compressed/atags_to_fdt.c
+++ b/arch/arm/boot/compressed/atags_to_fdt.c
@@ -87,7 +87,7 @@ static void merge_fdt_bootargs(void *fdt, const char *fdt_cmdline)
/*
* Convert and fold provided ATAGs into the provided FDT.
*
- * REturn values:
+ * Return values:
* = 0 -> pretend success
* = 1 -> bad ATAG (may retry with another possible ATAG pointer)
* < 0 -> error from libfdt
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index fe4d9c3..fe6d63a 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -258,7 +258,7 @@ restart: adr r0, LC0
* If we do have a DTB appended to zImage, and we do have
* an ATAG list around, we want the later to be translated
* and folded into the former here. To be on the safe side,
- * let's temporarily move the stack away into the malloc
+ * let's temporarily move the stack away into the malloc
* area. No GOT fixup has occurred yet, but none of the
* code we're about to call uses any global variable.
*/
@@ -270,9 +270,10 @@ restart: adr r0, LC0
bl atags_to_fdt
/*
- * If returned value is 1, there is no ATAG at the location
- * pointed by r8. Try the typical 0x100 offset from start
- * of RAM and hope for the best.
+ * If returned value is 1, there is neither an ATAG list nor a
+ * device tree blob at the location pointed to by r8. Try the
+ * typical 0x100 offset from start of RAM and hope for the
+ * best.
*/
cmp r0, #1
sub r0, r4, #TEXT_OFFSET
--
1.8.2.rc2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-14 20:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-14 20:24 [PATCH] ARM: decompressor: clearify a comment and minor typo fixes Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).