diff options
| author | Pali Rohár <[email protected]> | 2021-10-25 15:12:56 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-11-03 06:45:27 +0100 |
| commit | 063cb352814b5363aebb4c733a41b951787b1f5f (patch) | |
| tree | f5626192387f659ce5bb73ba6129db3a84f30d50 /scripts/checkpatch.pl | |
| parent | ad9a3ac5005e7b70a50b621a5340cead6fcc673f (diff) | |
tools: kwboot: Inject baudrate change back code after data part
Some vendor U-Boot kwbimage binaries (e.g. those for A375) have load
address set to zero. Therefore it is not possible to inject code which
changes baudrate back to 115200 Bd before the data part.
So instead inject it after the data part and change kwbimage execution
address to that offset. Also store original execution address into
baudrate change code, so after it changes baudrate back to 115200 Bd, it
can jump to orignal address.
Signed-off-by: Pali Rohár <[email protected]>
[ refactored ]
Signed-off-by: Marek Behún <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
