summaryrefslogtreecommitdiff
path: root/disk/part_dos.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-07-19 11:36:56 +0200
committerWolfgang Denk <wd@denx.de>2010-07-24 20:45:39 +0200
commita17c548b5393c5e0b457d6e3043a85bde717f532 (patch)
treefad421932b3b5f46bb6402102927e755af142023 /disk/part_dos.h
parent47e26b1bf91ddef69f4a3892815c857db094cef9 (diff)
downloadu-boot-imx-a17c548b5393c5e0b457d6e3043a85bde717f532.zip
u-boot-imx-a17c548b5393c5e0b457d6e3043a85bde717f532.tar.gz
u-boot-imx-a17c548b5393c5e0b457d6e3043a85bde717f532.tar.bz2
usb_storage.c: initialize device type
The device type was left uninitialized which caused later tests against DEV_TYPE_UNKNOWN to fail. In the result, "usb part" would attempt to print information about non-existent devices like this: => usb part print_part of 0 Partition Map for USB device 0 -- Partition Type: DOS Partition Start Sector Num Sectors Type 1 0 2031616 f8 print_part of 1 ## Unknown partition table print_part of 2 ## Unknown partition table print_part of 3 ## Unknown partition table print_part of 4 ## Unknown partition table => By initializing the type as DEV_TYPE_UNKNOWN we avoid all the "Unknown partition table" messages. [Note: the "print_part of ?" messages is left over debug code that will be removed in another patch.] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'disk/part_dos.h')
0 files changed, 0 insertions, 0 deletions