Home
last modified time | relevance | path

Searched hist:"99 d2c205d4a151faf5f9a406316b9dd960f43475" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dpart.h99d2c205d4a151faf5f9a406316b9dd960f43475 Fri Sep 21 04:08:17 UTC 2012 Rob Herring <rob.herring@calxeda.com> disk/part: introduce get_device_and_partition

All block device related commands (scsiboot, fatload, ext2ls, etc.) have
simliar duplicated device and partition parsing and selection code. This
adds a common function to replace various implementations.

The new function has an enhancement over current versions. If no device
or partition is specified on the command line, the bootdevice env variable
will be used (scsiboot does this).

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
/rk3399_rockchip-uboot/disk/
H A Dpart.c99d2c205d4a151faf5f9a406316b9dd960f43475 Fri Sep 21 04:08:17 UTC 2012 Rob Herring <rob.herring@calxeda.com> disk/part: introduce get_device_and_partition

All block device related commands (scsiboot, fatload, ext2ls, etc.) have
simliar duplicated device and partition parsing and selection code. This
adds a common function to replace various implementations.

The new function has an enhancement over current versions. If no device
or partition is specified on the command line, the bootdevice env variable
will be used (scsiboot does this).

Signed-off-by: Rob Herring <rob.herring@calxeda.com>