9
0
Fork 0
barebox/arch/x86
Juergen Beisert 63690cc406 Don't try to guess the size of a disk if its size value is already given
Guessing the size of an attached harddisk (access via x86 BIOS) was needed
due to the fact, barebox can't query this information from the BIOS easily.

But with the SD/MMC cards, there will be a second user of the generic disk
handling routines. And with this media it is very easy to know its size.

This patch provides a workaround to keep the guessing feature if the size of
the registered disk is 0. If it is not 0, the given value will be used instead.

Note: This is in preparation to add MCI card support, which can be handled
like a disk drive.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-11 13:08:27 +02:00
..
boards/x86_generic Don't try to guess the size of a disk if its size value is already given 2010-10-11 13:08:27 +02:00
boot Add functions to be able to boot with BIOSs help 2010-01-14 10:06:16 +01:00
configs configs: use new savedefconfig format as in linux 2010-09-17 10:46:59 +08:00
include/asm types.h: move __kernel_dev_t to include/linux/types.h 2010-09-17 10:56:24 +08:00
lib Add a special command to load and start a bzImage on x86 2010-01-14 10:06:16 +01:00
mach-i386 make reset_cpu a __noreturn function 2010-03-30 14:15:03 +02:00
Kconfig Add the whole x86 architecture to the build system 2010-01-14 10:06:17 +01:00
Makefile move boards to arch/<architecure>/boards 2010-07-23 08:35:25 +02:00
mach-x86.dox Adding x86 usage documentation to the tree 2010-01-14 10:06:15 +01:00