diff mbox

[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 441: Use --dev mx53loco in linaro-android-media-create to be consistent with linaro-media-create. Add ...

Message ID 20111005092114.2211.59400.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Mattias Backman Oct. 5, 2011, 9:21 a.m. UTC
Merge authors:
  Mattias Backman (mabac)
Related merge proposals:
  https://code.launchpad.net/~mabac/linaro-image-tools/bug-837201/+merge/73362
  proposed by: Mattias Backman (mabac)
  review: Approve - Fathi Boudra (fboudra)
------------------------------------------------------------
revno: 441 [merge]
committer: Mattias Backman <mattias.backman@linaro.org>
branch nick: trunl
timestamp: Wed 2011-10-05 11:19:03 +0200
message:
  Use --dev mx53loco in linaro-android-media-create to be consistent with linaro-media-create. Add deprecation warning for --dev iMX53.
modified:
  linaro-android-media-create
  linaro_image_tools/media_create/android_boards.py


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro-android-media-create'
--- linaro-android-media-create	2011-10-03 18:36:11 +0000
+++ linaro-android-media-create	2011-10-05 09:19:03 +0000
@@ -106,6 +106,10 @@ 
 
     board_config = android_board_configs[args.board]
 
+    if args.board == 'iMX53':
+        # XXX: remove this and the corresponding entry in android_board_configs
+        print "DEPRECATION WARNING: iMX53 is deprecated, please use mx53loco."
+
     ensure_required_commands(args)
 
     media = Media(args.device)

=== modified file 'linaro_image_tools/media_create/android_boards.py'
--- linaro_image_tools/media_create/android_boards.py	2011-08-26 07:58:01 +0000
+++ linaro_image_tools/media_create/android_boards.py	2011-09-30 13:22:50 +0000
@@ -278,6 +278,7 @@ 
     'snowball_sd': AndroidSnowballSdConfig,
     'snowball_emmc': AndroidSnowballEmmcConfig,
     'smdkv310': AndroidSMDKV310Config,
+    'mx53loco': AndroidMx53LoCoConfig,
     'iMX53': AndroidMx53LoCoConfig,
     'origen': AndroidOrigenConfig,
     }