
Hi,
Dear Prafulla Wadaskar,
In message 1238759359-6544-2-git-send-email-prafulla@marvell.com you wrote:
From: prafulla_wadaskar prafulla@marvell.com
In some cases the u-boot.bin need to be processed further to create bootable u-boot binary from boot device This processing may be cpu,soc and/or board spcific bin_dep.sh provides a mechanism to execute bin_dep.sh if present in above platform specific folders
Signed-off-by: prafulla_wadaskar prafulla@marvell.com
Makefile | 2 + tools/bin_dep.sh | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+), 0 deletions(-) create mode 100755 tools/bin_dep.sh
I don't see use cases for this. This should probably remain out of tree.
If the wrapping is needed to get a working U-Boot image for this specific board, I'll vote to add the code.
On the other hand, I wouldn't probably add this to the u-boot.bin target. A makefile should really specify what file is generated from what and generating an extra target in the u-boot.bin rule somewhat violates this rule.
I'd say, add another target and the script. Hopefully we can make this as generic as possible so that other boards needing this can only plug in their script.
Cheers Detlev