RM-autogen.py: Add support for sorting the entries
authorNikhil Devshatwar <nikhil.nd@ti.com>
Thu, 27 Feb 2020 13:26:59 +0000 (18:56 +0530)
committerNikhil Devshatwar <nikhil.nd@ti.com>
Thu, 27 Feb 2020 13:59:59 +0000 (19:29 +0530)
commit39c72f0e5c071b15abf71706216b9b4165f03067
treea9a3d834a1af31b10eae677951fb0b14c4c3fbfa
parent8aeea6fb4a5808e6b47cc7a2cc6986f4865389ff
RM-autogen.py: Add support for sorting the entries

Starting from SYSFW 2020.01, All the RM boarconfig entries
need to be sorted in the following manner
* ascending order of utype, if same,
* ascending order of start_resource, if same
* ascending order of host_id

Implement this using custom_key for sorted function.
Use the j721e SoC data to use the values of the macros.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
respart/RM-autogen.py