mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
mips: global_data.h: Add Octeon specific data to arch_global_data struct
This will be used by the upcoming Serdes and driver code ported from the original 2013 U-Boot code to mainline. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
91ce06ad34
commit
2d80cbfb05
@ -8,6 +8,12 @@
|
||||
#define __ASM_GBL_DATA_H
|
||||
|
||||
#include <asm/regdef.h>
|
||||
#include <asm/types.h>
|
||||
|
||||
struct octeon_eeprom_mac_addr {
|
||||
u8 mac_addr_base[6];
|
||||
u8 count;
|
||||
};
|
||||
|
||||
/* Architecture-specific global data */
|
||||
struct arch_global_data {
|
||||
@ -30,6 +36,9 @@ struct arch_global_data {
|
||||
#ifdef CONFIG_ARCH_MTMIPS
|
||||
unsigned long timer_freq;
|
||||
#endif
|
||||
#ifdef CONFIG_ARCH_OCTEON
|
||||
struct octeon_eeprom_mac_addr mac_desc;
|
||||
#endif
|
||||
};
|
||||
|
||||
#include <asm-generic/global_data.h>
|
||||
|
Loading…
Reference in New Issue
Block a user