• Ohad Ben-Cohen's avatar
    remoteproc: make sure we're parsing a 32bit firmware · 40b78b2c
    Ohad Ben-Cohen authored
    Make sure we're parsing a 32bit image, since we only support
    the ELF32 binary format at this point.
    
    This should prevent unexpected behavior with non 32bit binaries.
    Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
    Cc: Grant Likely <grant.likely@secretlab.ca>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Mark Grosen <mgrosen@ti.com>
    Cc: Suman Anna <s-anna@ti.com>
    Cc: Fernando Guzman Lugo <fernando.lugo@ti.com>
    Cc: Rob Clark <rob@ti.com>
    Cc: Ludovic BARRE <ludovic.barre@stericsson.com>
    Cc: Loic PALLARDY <loic.pallardy@stericsson.com>
    Cc: Omar Ramirez Luna <omar.luna@linaro.org>
    40b78b2c
remoteproc_core.c 40.7 KB