Browse Source

[arm] Use correct DHCP client architecture values

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
31d4a7b8db

+ 1
- 1
src/arch/arm32/include/efi/ipxe/dhcp_arch.h View File

39
 		      'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )
39
 		      'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )
40
 
40
 
41
 #define DHCP_ARCH_CLIENT_ARCHITECTURE \
41
 #define DHCP_ARCH_CLIENT_ARCHITECTURE \
42
-	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_EFI )
42
+	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_ARM32 )
43
 
43
 
44
 #define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )
44
 #define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )
45
 
45
 

+ 1
- 1
src/arch/arm64/include/efi/ipxe/dhcp_arch.h View File

39
 		      'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )
39
 		      'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' )
40
 
40
 
41
 #define DHCP_ARCH_CLIENT_ARCHITECTURE \
41
 #define DHCP_ARCH_CLIENT_ARCHITECTURE \
42
-	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_EFI )
42
+	DHCP_WORD ( DHCP_CLIENT_ARCHITECTURE_ARM64 )
43
 
43
 
44
 #define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )
44
 #define DHCP_ARCH_CLIENT_NDI DHCP_OPTION ( 1 /* UNDI */ , 3, 10 /* v3.10 */ )
45
 
45
 

+ 4
- 0
src/include/ipxe/dhcp.h View File

272
 	DHCP_CLIENT_ARCHITECTURE_XSCALE = 0x0008,
272
 	DHCP_CLIENT_ARCHITECTURE_XSCALE = 0x0008,
273
 	/** EFI x86-64 */
273
 	/** EFI x86-64 */
274
 	DHCP_CLIENT_ARCHITECTURE_X86_64 = 0x0009,
274
 	DHCP_CLIENT_ARCHITECTURE_X86_64 = 0x0009,
275
+	/** EFI 32-bit ARM */
276
+	DHCP_CLIENT_ARCHITECTURE_ARM32 = 0x000a,
277
+	/** EFI 64-bit ARM */
278
+	DHCP_CLIENT_ARCHITECTURE_ARM64 = 0x000b,
275
 };
279
 };
276
 
280
 
277
 /** Client network device interface */
281
 /** Client network device interface */

Loading…
Cancel
Save