diff options
author | Tom Rini <trini@ti.com> | 2012-08-14 12:06:43 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-27 09:49:58 -0700 |
commit | 026b2fe32c3d5658befb54521dcfed46444e6bf8 (patch) | |
tree | 1a5cb194bcb6a13ff2dda67c56c7c6ecfe4fa713 /arch/arm/cpu/armv7/omap-common/spl_nand.c | |
parent | f0881250f9429a5c88e39e90c2d7100b0e10f7b9 (diff) |
ARM: SPL: Clean up spl.c / spl_nand.c slightly
- Remove includes we don't need
- Switch some printf statements to puts
- Convert some printf statements to debug, introduce new puts statements
- In most cases saying just "No mkimage signature, assuming
u-boot.bin" or similar is sufficient. This also means the non-DEBUG
case doesn't need printf, in the core of SPL.
- The other case here is that PLAIN_VERSION provided what we wanted
already, so just use it.
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/spl_nand.c')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/spl_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/spl_nand.c b/arch/arm/cpu/armv7/omap-common/spl_nand.c index 6552a5dfdec..3e2f3590e69 100644 --- a/arch/arm/cpu/armv7/omap-common/spl_nand.c +++ b/arch/arm/cpu/armv7/omap-common/spl_nand.c @@ -24,7 +24,6 @@ #include <asm/spl.h> #include <asm/u-boot.h> #include <asm/utils.h> -#include <asm/arch/sys_proto.h> #include <asm/io.h> #include <nand.h> #include <version.h> |