2006-03-12 01:12:27 +00:00
|
|
|
/*
|
|
|
|
* U-boot - global_data.h Declarations for global data of u-boot
|
|
|
|
*
|
2007-04-05 10:31:18 +00:00
|
|
|
* Copyright (c) 2005-2007 Analog Devices Inc.
|
2006-03-12 01:12:27 +00:00
|
|
|
*
|
2010-07-24 18:22:02 +00:00
|
|
|
* (C) Copyright 2000-2010
|
2006-03-12 01:12:27 +00:00
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2006-03-12 01:12:27 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_GBL_DATA_H
|
|
|
|
#define __ASM_GBL_DATA_H
|
|
|
|
|
2009-11-09 23:08:09 +00:00
|
|
|
#include <asm/u-boot.h>
|
|
|
|
|
2012-12-13 20:48:30 +00:00
|
|
|
/* Architecture-specific global data */
|
|
|
|
struct arch_global_data {
|
2013-03-05 14:39:59 +00:00
|
|
|
unsigned long board_type;
|
2012-12-13 20:48:30 +00:00
|
|
|
};
|
|
|
|
|
2012-12-13 20:49:16 +00:00
|
|
|
#include <asm-generic/global_data.h>
|
2006-03-12 01:12:27 +00:00
|
|
|
|
2012-02-16 06:10:43 +00:00
|
|
|
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("P3")
|
2006-03-12 01:12:27 +00:00
|
|
|
|
|
|
|
#endif
|