Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[arm] Use correct DHCP client architecture values
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed May 26, 2016
1 parent ee5dfb7 commit 31d4a7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arch/arm32/include/efi/ipxe/dhcp_arch.h
Expand Up @@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )

#define DHCP_ARCH_CLIENT_ARCHITECTURE \
DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_EFI )
DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_ARM32 )

#define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )

Expand Down
2 changes: 1 addition & 1 deletion src/arch/arm64/include/efi/ipxe/dhcp_arch.h
Expand Up @@ -39,7 +39,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )

#define DHCP_ARCH_CLIENT_ARCHITECTURE \
DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_EFI )
DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_ARM64 )

#define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )

Expand Down
4 changes: 4 additions & 0 deletions src/include/ipxe/dhcp.h
Expand Up @@ -272,6 +272,10 @@ enum dhcp_client_architecture_values {
DHCP_CLIENT_ARCHITECTURE_XSCALE = 0x0008,
/** EFI x86-64 */
DHCP_CLIENT_ARCHITECTURE_X86_64 = 0x0009,
/** EFI 32-bit ARM */
DHCP_CLIENT_ARCHITECTURE_ARM32 = 0x000a,
/** EFI 64-bit ARM */
DHCP_CLIENT_ARCHITECTURE_ARM64 = 0x000b,
};

/** Client network device interface */
Expand Down

0 comments on commit 31d4a7b

Please sign in to comment.