diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 11:36:28 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | 52138fd4072b64448855eac4c2c9815b46f5b43c (patch) | |
tree | fd5dead396df725150d71861e69d656d22e73dd9 /common/hwconfig.c | |
parent | 199a1201ab901413a80c64a9eee72f82977ba8d3 (diff) | |
download | u-boot-imx-52138fd4072b64448855eac4c2c9815b46f5b43c.zip u-boot-imx-52138fd4072b64448855eac4c2c9815b46f5b43c.tar.gz u-boot-imx-52138fd4072b64448855eac4c2c9815b46f5b43c.tar.bz2 |
dm: blk: Allow blk_create_device() to allocate the device number
Allow a devnum parameter of -1 to indicate that the device number should be
alocated automatically. The next highest available device number for that
interface type is used.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/hwconfig.c')
0 files changed, 0 insertions, 0 deletions