summaryrefslogtreecommitdiffstats
path: root/libdiskconfig/config_mbr.c
Commit message (Collapse)AuthorAgeFilesLines
* libdiskconfig: set MBR signature when creating MBRCylen Yao2014-05-151-0/+27
| | | | | | | | When formatting a blank SD card, it needs to set MBR signature when creating MBR. If not, the 'format' operation will fail. Change-Id: I860731243797d4da83f370af52822536983009ee Signed-off-by: Cylen Yao <cylen.yao@mediatek.com>
* libdiskconfig: Use uintptr_t instead of uint32_tAshok Bhat2013-12-171-1/+1
| | | | | | | | Use uintptr_t instead of uint32_t when pointer is cast to an integer type. Change-Id: I03dd4c7ff66611661af466dfb7b393d461bb2d7d Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* config_mbr: Fix integer overflowAndrew Boie2012-07-261-1/+1
| | | | | | | | | The values need to be converted to loff_t *before* performing the multiplication, else any sector offset past MAX_INT bytes will overflow. Change-Id: Ib8992f28aa4119ac7b4ad354b2448c4b0cfaf846 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-11/+11
| | | | | Bug: 5449033 Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
| | | | | Bug: 5449033 Change-Id: I4951baa981f09a84ce483e3d1bd0f9ebe009035f
* system: libdiskconfig: Add libdiskconfigSan Mehat2010-03-101-0/+325
Change-Id: Ie7a7b5d8016dec60cdfb17228c3f519789c98564 Signed-off-by: San Mehat <san@google.com>