blob: 7aefead4026fdaaf4051220e2af86e1b83409367 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/*
2 * U-boot - global_data.h Declarations for global data of u-boot
3 *
4 * Copyright (c) 2005-2007 Analog Devices Inc.
5 *
6 * (C) Copyright 2000-2010
7 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 *
9 * SPDX-License-Identifier: GPL-2.0+
10 */
11
12#ifndef __ASM_GBL_DATA_H
13#define __ASM_GBL_DATA_H
14
15#include <asm/u-boot.h>
16
17/* Architecture-specific global data */
18struct arch_global_data {
19 unsigned long board_type;
20};
21
22#include <asm-generic/global_data.h>
23
24#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("P3")
25
26#endif