• Varun Wadekar's avatar
    Tegra: sanity check NS address and size before use · 685e5609
    Varun Wadekar authored
    
    
    This patch updates the 'bl31_check_ns_address()' helper function to
    check that the memory address and size passed by the NS world are not
    zero.
    
    The helper fucntion also returns the error code as soon as it detects
    inconsistencies, to avoid multiple error paths from kicking in for the
    same input parameters.
    Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
    
    Change-Id: I46264f913954614bedcbde12e47ea0c70cd19be0
    685e5609
tegra_bl31_setup.c 11.8 KB