Skip to content
Snippets Groups Projects
Commit dd3d1f56 authored by Andy Fleming's avatar Andy Fleming Committed by Ben Warren
Browse files

tsec: Move tsec.h to include/


This is to prepare the way for board code passing in the tsec_info structure

Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent d23dc394
Branches
Tags
No related merge requests found
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
#include <malloc.h> #include <malloc.h>
#include <net.h> #include <net.h>
#include <command.h> #include <command.h>
#include <tsec.h>
#include "tsec.h"
#include "miiphy.h" #include "miiphy.h"
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -32,12 +32,6 @@ typedef volatile struct rtxbd { ...@@ -32,12 +32,6 @@ typedef volatile struct rtxbd {
rxbd8_t rxbd[PKTBUFSRX]; rxbd8_t rxbd[PKTBUFSRX];
} RTXBD; } RTXBD;
struct tsec_info_struct {
unsigned int phyaddr;
u32 flags;
unsigned int phyregidx;
};
/* The tsec_info structure contains 3 values which the /* The tsec_info structure contains 3 values which the
* driver uses to determine how to operate a given ethernet * driver uses to determine how to operate a given ethernet
* device. The information needed is: * device. The information needed is:
......
...@@ -583,4 +583,10 @@ struct phy_info { ...@@ -583,4 +583,10 @@ struct phy_info {
struct phy_cmd *shutdown; struct phy_cmd *shutdown;
}; };
struct tsec_info_struct {
unsigned int phyaddr;
u32 flags;
unsigned int phyregidx;
};
#endif /* __TSEC_H */ #endif /* __TSEC_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment