blob: e0adb9f1bf94a7f58d98835e8efd332604fd657f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * linux/include/asm/setup.h
3 *
4 * Copyright (C) 1997-1999 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Structure passed to kernel to tell it about the
11 * hardware it's running on. See Documentation/arm/Setup
12 * for more info.
13 */
14#ifndef __ASMARM_SETUP_H
15#define __ASMARM_SETUP_H
16
David Howellscb8db5d2012-10-12 13:05:52 +010017#include <uapi/asm/setup.h>
Adrian Bunk7d1362c2006-12-06 20:40:38 -080018
Adrian Bunk7d1362c2006-12-06 20:40:38 -080019
David Rientjesb91d8a12007-05-11 16:18:55 -070020#define __tag __used __attribute__((__section__(".taglist.init")))
Adrian Bunk7d1362c2006-12-06 20:40:38 -080021#define __tagtable(tag, fn) \
Russell Kingc1f2d992011-07-05 23:59:56 +010022static const struct tagtable __tagtable_##fn __tag = { tag, fn }
Adrian Bunk7d1362c2006-12-06 20:40:38 -080023
Magnus Damm6a5014a2013-10-22 17:53:16 +010024extern int arm_add_memory(u64 start, u64 size);
Grant Likely93c02ab2011-04-28 14:27:21 -060025extern void early_print(const char *str, ...);
26extern void dump_machine_table(void);
Grant Likely9eb8f672011-04-28 14:27:20 -060027
Linus Torvalds1da177e2005-04-16 15:20:36 -070028#endif