Home
last modified time | relevance | path

Searched refs:boot_drive (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/u-boot/cmd/
H A Dfdc.c641 unsigned char boot_drive; in do_fdcboot() local
650 boot_drive=CONFIG_SYS_FDC_DRIVE_NUMBER; in do_fdcboot()
654 boot_drive=CONFIG_SYS_FDC_DRIVE_NUMBER; in do_fdcboot()
658 boot_drive=simple_strtoul(argv[2], NULL, 10); in do_fdcboot()
664 if (fdc_setup(boot_drive, pCMD, pFG) == false) { in do_fdcboot()
672 if((pCMD->flags&(1<<boot_drive))==0) { in do_fdcboot()
674 printf("\n** Drive %d not availabe **\n",boot_drive); in do_fdcboot()
677 if((pCMD->flags&(0x10<<boot_drive))==0) { in do_fdcboot()
679 printf("\n** No disk inserted in drive %d **\n",boot_drive); in do_fdcboot()
683 pCMD->drive=boot_drive; in do_fdcboot()