mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
ccf3356e6b
Unify the various architectures __dtb_start and __dtb_end definitions moving them into of_fdt.h. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Vineet Gupta <vgupta@synopsys.com> Acked-by: James Hogan <james.hogan@imgtec.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Jonas Bonn <jonas@southpole.se> Cc: Chris Zankel <chris@zankel.net> Cc: Max Filippov <jcmvbkbc@gmail.com> Cc: linux-metag@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: linux@lists.openrisc.net Cc: linux-xtensa@linux-xtensa.org Tested-by: Grant Likely <grant.likely@linaro.org> Tested-by: Stephen Chivers <schivers@csc.com>
30 lines
699 B
C
30 lines
699 B
C
/*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*
|
|
* Copyright (C) 2010 John Crispin <blogic@openwrt.org>
|
|
*/
|
|
|
|
#ifndef _LTQ_PROM_H__
|
|
#define _LTQ_PROM_H__
|
|
|
|
#define LTQ_SYS_TYPE_LEN 0x100
|
|
#define LTQ_SYS_REV_LEN 0x10
|
|
|
|
struct ltq_soc_info {
|
|
unsigned char *name;
|
|
unsigned int rev;
|
|
unsigned char rev_type[LTQ_SYS_REV_LEN];
|
|
unsigned int srev;
|
|
unsigned int partnum;
|
|
unsigned int type;
|
|
unsigned char sys_type[LTQ_SYS_TYPE_LEN];
|
|
unsigned char *compatible;
|
|
};
|
|
|
|
extern void ltq_soc_detect(struct ltq_soc_info *i);
|
|
extern void ltq_soc_init(void);
|
|
|
|
#endif
|