common: releasetools: Do not distinguish between nand and emmc devices

Code cleanup. We no longer support nand based devices on mainline.

Change-Id: Ie2291f82fc6b0fc1972fccd825ce9b1686d1d3cb
This commit is contained in:
Ameya Thakur 2014-07-01 12:05:45 -07:00 committed by Gerrit - the friendly Code Review server
parent 403c50bbc0
commit f183b36c08
1 changed files with 4 additions and 13 deletions

View File

@ -226,7 +226,6 @@ def IncrementalOTA_Assertions(info):
def IncrementalOTA_VerifyEnd(info):
if info.type == 'MMC':
OTA_VerifyEnd(info, info.target_version, info.target_zip, info.source_zip)
return
@ -346,13 +345,9 @@ def FullOTA_InstallEnd_MTD(info):
def FullOTA_InstallEnd(info):
if info.type == 'MMC':
FullOTA_InstallEnd_MMC(info)
elif info.type == 'MTD':
FullOTA_InstallEnd_MTD(info)
return
def IncrementalOTA_InstallEnd_MMC(info):
OTA_InstallEnd(info)
return
@ -362,10 +357,6 @@ def IncrementalOTA_InstallEnd_MTD(info):
print "warning radio-update: radio update for NAND devices not supported"
return
def IncrementalOTA_InstallEnd(info):
if info.type == 'MMC':
IncrementalOTA_InstallEnd_MMC(info)
elif info.type == 'MTD':
IncrementalOTA_InstallEnd_MTD(info)
return