=== modified file 'linaro_image_tools/media_create/android_boards.py'
@@ -33,7 +33,7 @@
from linaro_image_tools.media_create.boards import SnowballEmmcConfig
from linaro_image_tools.media_create.boards import SMDKV310Config
from linaro_image_tools.media_create.boards import OrigenConfig
-from linaro_image_tools.media_create.boards import VexpressA9Config
+from linaro_image_tools.media_create.boards import VexpressConfig
from linaro_image_tools.media_create.boards import (
align_up,
align_partition,
@@ -337,7 +337,7 @@
dtb_name = None
-class AndroidVexpressA9Config(AndroidBoardConfig, VexpressA9Config):
+class AndroidVexpressConfig(AndroidBoardConfig, VexpressConfig):
_extra_serial_opts = 'console=tty0 console=ttyAMA0,38400n8'
android_specific_args = 'init=/init androidboot.console=ttyAMA0'
dtb_name = None
@@ -353,5 +353,6 @@
'iMX53': AndroidMx53LoCoConfig,
'mx6qsabrelite': AndroidMx6QSabreliteConfig,
'origen': AndroidOrigenConfig,
- 'vexpress-a9': AndroidVexpressA9Config,
+ 'vexpress': AndroidVexpressConfig,
+ 'vexpress-a9': AndroidVexpressConfig,
}
=== modified file 'linaro_image_tools/media_create/tests/test_media_create.py'
@@ -1285,8 +1285,8 @@
self.assertEqual(expected_commands, fixture.mock.commands_executed)
self.assertEqual(expected, self.funcs_calls)
- def test_vexpress_a9_raw(self):
- self.populate_raw_partition(android_boards.AndroidVexpressA9Config)
+ def test_vexpress_raw(self):
+ self.populate_raw_partition(android_boards.AndroidVexpressConfig)
expected = []
self.assertEqual(expected, self.funcs_calls)
@@ -1443,7 +1443,7 @@
self.assertEqual(
'63,270272,0x0E,*\n270336,1048576,L\n1318912,524288,L\n'
'1843200,-,E\n1843200,1048576,L\n2891776,,,-',
- android_boards.AndroidVexpressA9Config.get_sfdisk_cmd())
+ android_boards.AndroidVexpressConfig.get_sfdisk_cmd())
def test_mx5_android(self):
self.assertEqual(
@@ -1805,7 +1805,7 @@
self.assertBootEnv(
android_boards.AndroidOrigenConfig, expected)
- def test_android_vexpress_a9(self):
+ def test_android_vexpress(self):
expected = {
'bootargs': 'console=tty0 console=ttyAMA0,38400n8 '
'rootwait ro init=/init androidboot.console=ttyAMA0',
@@ -1813,7 +1813,7 @@
'fatload mmc 0:1 0x62000000 uInitrd; '
'bootm 0x60000000 0x62000000'}
self.assertBootEnv(
- android_boards.AndroidVexpressA9Config, expected)
+ android_boards.AndroidVexpressConfig, expected)
def test_android_mx5(self):
expected = {