u-boot-brain/arch/arm/mach-bcmstb/include/mach/prior_stage.h
Thomas Fitzsimmons 894c3ad27f board: arm: Add support for Broadcom BCM7445
Add support for loading U-Boot on the Broadcom 7445 SoC.  This port
assumes Broadcom's BOLT bootloader is acting as the second stage
bootloader, and U-Boot is acting as the third stage bootloader, loaded
as an ELF program by BOLT.

Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Cc: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
2018-07-10 16:55:57 -04:00

31 lines
514 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2018 Cisco Systems, Inc.
*
* Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
*/
#ifndef _BCMSTB_PRIOR_STAGE_H
#define _BCMSTB_PRIOR_STAGE_H
#ifndef __ASSEMBLY__
#include <linux/types.h>
struct bcmstb_boot_parameters {
u32 r0;
u32 r1;
u32 r2;
u32 r3;
u32 sp;
u32 lr;
};
extern struct bcmstb_boot_parameters bcmstb_boot_parameters;
extern phys_addr_t prior_stage_fdt_address;
#endif /* __ASSEMBLY__ */
#endif /* _BCMSTB_PRIOR_STAGE_H */