mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
binman: Allow unit addresses for binaries
Allow the same binary to appear multiple times in an image by using the device-tree unit-address feature (u-boot@0, u-boot@1). Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -909,6 +909,11 @@ class TestFunctional(unittest.TestCase):
|
||||
sym_values + U_BOOT_SPL_DATA[16:])
|
||||
self.assertEqual(expected, data)
|
||||
|
||||
def testPackUnitAddress(self):
|
||||
"""Test that we support multiple binaries with the same name"""
|
||||
data = self._DoReadFile('54_unit_address.dts')
|
||||
self.assertEqual(U_BOOT_DATA + U_BOOT_DATA, data)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
Reference in New Issue
Block a user