uboot_diskgetunit
int uboot_diskgetunit(int type, int type_unit);
currdev.dd.d_unit = uboot_diskgetunit(load_type, unit);
if ((currdev.dd.d_unit = uboot_diskgetunit(load_type, load_unit)) != -1) {