cros: Support initramfs netboot install

For netboot factory install, we are moving from initrd to initramfs.
This requires a different boot command. The new boot command assumes
initramfs netboot by default and only load ramdisk image if 'has_initrd'
is set to 1 in environment variable.

BUG=chrome-os-partner:17368
TEST=On Spring, set server IP and boot. Finish the factory install
process. Boot without server IP set, and see u-boot boot from USB/eMMC.
BRANCH=none

Change-Id: I3496bde0462f97f8ee3512e7481218bf41c96d35
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/42713
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
1 file changed