/******************************************************************************
 * Copyright (c) 2020 IBM Corporation
 * All rights reserved.
 * This program and the accompanying materials
 * are made available under the terms of the BSD License
 * which accompanies this distribution, and is available at
 * http://www.opensource.org/licenses/bsd-license.php
 *
 * Contributors:
 *     IBM Corporation - initial implementation
 *****************************************************************************/

#ifndef _SLOF_OF_H
#define _SLOF_OF_H

/* from OF.lds */
extern long _slof_text;
extern long _slof_text_end;

#endif

Make linker script variables accessible
slof: Make linker script variables accessible

Make linker script variables related to 'text' addresses available
to the code so we can measure the static core root of trust contents.

When hashing the 'data' part of SLOF we do not end up with the same
measurements for the same firmware when booting with different
configurations, so we don't make those available.

Signed-off-by: Stefan Berger <5c96973112e540fb909b13997fcd087e5bfbee96@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <ac1fc56530d7d037e1ea666f130daca22d72f964@ozlabs.ru>
