[U-Boot] [PATCH v3 03/16] rockchip: mkimage: Allow encoding of loader code in spl images

Simon Glass sjg at chromium.org
Mon Feb 6 15:35:01 UTC 2017


On 3 February 2017 at 08:09, Heiko Stuebner <heiko at sntech.de> wrote:
> Rockchip SoCs allow the spl code to be rc4-encoded, not only the
> image header, but only newer SoCs allow this encoding to be disabled.
>
> The rk3188 is not part of those and requires its boot code to be
> rc4-encoded with the regular key. So add the ability to do this
> encoding via a setting on a per-soc basis when building spl images.
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> ---
>  tools/rkcommon.c | 33 +++++++++++++++++++++++++++++----
>  tools/rkcommon.h | 22 ++++++++++++++++++++++
>  tools/rkimage.c  |  3 +++
>  tools/rksd.c     |  4 ++++
>  tools/rkspi.c    |  4 ++++
>  5 files changed, 62 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list