u-boot-brain/arch/blackfin/include/asm/global_data.h

27 lines
543 B
C
Raw Normal View History

2006-03-12 10:12:27 +09:00
/*
* U-Boot - global_data.h Declarations for global data of U-Boot
2006-03-12 10:12:27 +09:00
*
* Copyright (c) 2005-2007 Analog Devices Inc.
2006-03-12 10:12:27 +09:00
*
* (C) Copyright 2000-2010
2006-03-12 10:12:27 +09:00
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* SPDX-License-Identifier: GPL-2.0+
2006-03-12 10:12:27 +09:00
*/
#ifndef __ASM_GBL_DATA_H
#define __ASM_GBL_DATA_H
#include <asm/u-boot.h>
/* Architecture-specific global data */
struct arch_global_data {
unsigned long board_type;
};
#include <asm-generic/global_data.h>
2006-03-12 10:12:27 +09:00
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("P3")
2006-03-12 10:12:27 +09:00
#endif