summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2013-02-26 13:18:14 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2013-02-26 13:18:14 +0700
commit2f137021c5ac4edeb9e03ad75445132f915f5842 (patch)
tree39c127f430111fb6e4ccf4b5ea84a2089feb10cf
parentc4fc13ab551167ddb3393e6cdf64045ecc54dab9 (diff)
downloaddevice_samsung_aries-common-2f137021c5ac4edeb9e03ad75445132f915f5842.zip
device_samsung_aries-common-2f137021c5ac4edeb9e03ad75445132f915f5842.tar.gz
device_samsung_aries-common-2f137021c5ac4edeb9e03ad75445132f915f5842.tar.bz2
aries-common: fix lun mounting in recovery
without specifying the lun file, the recovery will get confused when there is no sdcard inserted Change-Id: Id66c029734671ff1cfb3dedd1e9e3946216e2a8c
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--recovery.fstab4
2 files changed, 2 insertions, 3 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 5c80381..b2c9f24 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -37,7 +37,6 @@ TARGET_BOARD_PLATFORM := s5pc110
TARGET_BOOTLOADER_BOARD_NAME := aries
BOARD_MOBILEDATA_INTERFACE_NAME = "pdp0"
-BOARD_UMS_LUNFILE := /sys/class/android_usb/android0/f_mass_storage/lun/file
# Kernel Source
TARGET_KERNEL_SOURCE := kernel/samsung/aries
diff --git a/recovery.fstab b/recovery.fstab
index ff7e530..911ca98 100644
--- a/recovery.fstab
+++ b/recovery.fstab
@@ -8,7 +8,7 @@
/cache yaffs2 cache
/datadata yaffs2 datadata
-/sdcard vfat /dev/block/mmcblk0p1
+/sdcard vfat /dev/block/mmcblk0p1 lun=/sys/devices/platform/s3c-usbgadget/gadget/lun0/file
/system ext4 /dev/lvpool/system
-/external_sd vfat /dev/block/mmcblk1p1
+/external_sd vfat /dev/block/mmcblk1p1 lun=/sys/devices/platform/s3c-usbgadget/gadget/lun1/file