diff options
author | Stefan Roese <sr@denx.de> | 2020-12-11 19:05:23 +0300 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2021-04-23 22:02:12 +0300 |
commit | 2d80cbfb0556eea18f0e3a10a1c0fa48282429d1 (patch) | |
tree | 622e4dec19ce4379d4ef865e1d31477b52662bcd /arch/mips/include | |
parent | 91ce06ad340ef12fc3fd0ee3a5d040cc0bba731e (diff) | |
download | u-boot-2d80cbfb0556eea18f0e3a10a1c0fa48282429d1.tar.xz |
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>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/global_data.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/include/asm/global_data.h b/arch/mips/include/asm/global_data.h index 4c30fab871..f0d3b07bf1 100644 --- a/arch/mips/include/asm/global_data.h +++ b/arch/mips/include/asm/global_data.h @@ -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> |