-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libuuu: sdp: SDPBootCmd: add barebox autodetection
We do already support the -barebox switch, so the user can force the barebox image handling. Add a autodetection mechanism to make it even more user friendly. The autodetection is based on the fact, that barebox does add an "barebox" string at offset 0x20 to the image. If this string is found we can assume that user provided file is an barebox image. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
- Loading branch information
1 parent
aa70f19
commit 5aebb13
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters