diff options
author | Masahiro Yamada | 2016-04-21 14:43:22 +0900 |
---|---|---|
committer | Masahiro Yamada | 2016-04-24 09:56:47 +0900 |
commit | b75e072c1c53cade2c3944433d852d7d6046661b (patch) | |
tree | b017834dc0f0654a3b275f86919ff818234d60f6 /include/configs/uniphier.h | |
parent | 306d37e949ed63b6d937589793f0ed0659f58adf (diff) |
ARM: uniphier: speed up loading kernel image from NOR device
Copy the kernel image double-word-wise rather than byte-wise.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/configs/uniphier.h')
-rw-r--r-- | include/configs/uniphier.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index a25ac8d9241..8ecfc6f7cf6 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -214,7 +214,8 @@ "boot_common=setexpr bootm_low $kernel_addr_r '&' fe000000 &&" \ LINUXBOOT_CMD " $kernel_addr_r $ramdisk_addr_r $fdt_addr_r\0" \ "norboot=setexpr kernel_addr $nor_base + $kernel_addr &&" \ - "cp.b $kernel_addr $kernel_addr_r $kernel_size &&" \ + "setexpr kernel_size $kernel_size / 4 &&" \ + "cp $kernel_addr $kernel_addr_r $kernel_size &&" \ "setexpr ramdisk_addr_r $nor_base + $ramdisk_addr &&" \ "setexpr fdt_addr_r $nor_base + $fdt_addr &&" \ "run boot_common\0" \ |