Commit 8dbd1d3e authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] IP27: Nuke last leftovers from FRUTEST

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b383f47e
...@@ -64,11 +64,7 @@ ...@@ -64,11 +64,7 @@
#define KLCFGINFO_MAGIC 0xbeedbabe #define KLCFGINFO_MAGIC 0xbeedbabe
#ifdef FRUTEST
typedef u64 klconf_off_t;
#else
typedef s32 klconf_off_t; typedef s32 klconf_off_t;
#endif
/* /*
* Some IMPORTANT OFFSETS. These are the offsets on all NODES. * Some IMPORTANT OFFSETS. These are the offsets on all NODES.
...@@ -474,14 +470,6 @@ typedef struct lboard_s { ...@@ -474,14 +470,6 @@ typedef struct lboard_s {
#define KLCF_NUM_COMPS(_brd) ((_brd)->brd_numcompts) #define KLCF_NUM_COMPS(_brd) ((_brd)->brd_numcompts)
#define KLCF_MODULE_ID(_brd) ((_brd)->brd_module) #define KLCF_MODULE_ID(_brd) ((_brd)->brd_module)
#ifdef FRUTEST
#define KLCF_NEXT(_brd) ((_brd)->brd_next ? (lboard_t *)((_brd)->brd_next): NULL)
#define KLCF_COMP(_brd, _ndx) (klinfo_t *)((_brd)->brd_compts[(_ndx)])
#define KLCF_COMP_ERROR(_brd, _comp) (_brd = _brd , (_comp)->errinfo)
#else
#define KLCF_NEXT(_brd) \ #define KLCF_NEXT(_brd) \
((_brd)->brd_next ? \ ((_brd)->brd_next ? \
(lboard_t *)(NODE_OFFSET_TO_K1(NASID_GET(_brd), (_brd)->brd_next)):\ (lboard_t *)(NODE_OFFSET_TO_K1(NASID_GET(_brd), (_brd)->brd_next)):\
...@@ -493,8 +481,6 @@ typedef struct lboard_s { ...@@ -493,8 +481,6 @@ typedef struct lboard_s {
#define KLCF_COMP_ERROR(_brd, _comp) \ #define KLCF_COMP_ERROR(_brd, _comp) \
(NODE_OFFSET_TO_K1(NASID_GET(_brd), (_comp)->errinfo)) (NODE_OFFSET_TO_K1(NASID_GET(_brd), (_comp)->errinfo))
#endif
#define KLCF_COMP_TYPE(_comp) ((_comp)->struct_type) #define KLCF_COMP_TYPE(_comp) ((_comp)->struct_type)
#define KLCF_BRIDGE_W_ID(_comp) ((_comp)->physid) /* Widget ID */ #define KLCF_BRIDGE_W_ID(_comp) ((_comp)->physid) /* Widget ID */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment