• Sandrine Bailleux's avatar
    Minor refactoring of BL1 FWU code · 9f1489e4
    Sandrine Bailleux authored
    
    
    This patch introduces no functional change, it just changes
    the serial console output.
    
     - Improve accuracy of error messages by decoupling some
       error cases;
    
     - Improve comments;
    
     - Move declaration of 'mem_layout' local variable closer to
       where it is used and make it const;
    
     - Rename a local variable to clarify whether it is a source
       or a destination address (base_addr -> dest_addr).
    
    Change-Id: I349fcf053e233f316310892211d49e35ef2c39d9
    Signed-off-by: default avatarSandrine Bailleux <sandrine.bailleux@arm.com>
    Signed-off-by: default avatarDan Handley <dan.handley@arm.com>
    9f1489e4
bl1_fwu.c 16 KB