diff options
author | Li, Shaohua <shaohua.li@intel.com> | 2008-08-13 09:26:01 (GMT) |
---|---|---|
committer | Arjan van de Ven <arjan@linux.intel.com> | 2009-03-28 20:06:22 (GMT) |
commit | df52092f3c97788592ef72501a43fb7ac6a3cfe0 (patch) | |
tree | 1c708b2f43db6cf30bc1397ba5d3a520d0d370b7 /arch/arm/mach-mx1/mx1ads.c | |
parent | 0c406263f0a22b9fad65404cf2b14eced0739485 (diff) | |
download | linux-fsl-qoriq-df52092f3c97788592ef72501a43fb7ac6a3cfe0.tar.xz |
fastboot: remove duplicate unpack_to_rootfs()
we check if initrd is initramfs first and then do the real unpack. The check
isn't required, we can directly do unpack. If the initrd isn't an
initramfs, we can remove the garbage. In my laptop, this saves 0.1s boot
time.
This patch penalizes non-initramfs initrd case, but nowadays, initramfs is
the most widely used method for initrds.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-mx1/mx1ads.c')
0 files changed, 0 insertions, 0 deletions