This allows us to distinguish not only by platform and subtype at build
time, but also by device-specific model.
It is required because two devices may share the same kernel sources and
thus build the same dtbs, but the resulting dt.img should be devie
specific and only contain the specific dtbs for that device.
Otherwise we are likely to violate dt.img size constraints by including
too many dtbs (which is the case for a5y17lte and a7y17lte right now).
For now, the feature will be optional (existing samsung_dtbh.h headers
don't have to be changed) but that might change in the future.
Change-Id: I2d804f9f1a14051e60f4de4f3d2d4f11c9b3c23f
(cherry picked from commit 2db58d0208abf3dc0f1a7c23ff34a60bcda91db1)
Parses a DTBH image and outputs the information needed
for samsung_dtb.h and dumps all DTBs contained in the file.
Change-Id: Ia724f25c3b33423baeefec85c9b0d42967fce6f2
(cherry picked from commit 25b3f58c5bb9e9cfd2f0282047a2ea13141496cc)
* This breaks building on devices that
don't require the need of dtbhtool
* Also remove LOCAL_MODULE_TAGS := eng, to
avoid requiring this on an eng build
Change-Id: Iad9296f46dd78c778ce1ce48d6722ed98bc27cd3
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
Factor out DT image creation code into a small host
library.
Create a new host binary which allows us to create
device tree blob (DTB) images.
Change-Id: I5424684ad467b952df8b2ccf3afbacdec03e88c9