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