git: 3f960a05ba00 - main - loader: remove check for 2M alignment

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 05 Dec 2024 00:18:57 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=3f960a05ba003870ee51e037ab18006511f12f8c

commit 3f960a05ba003870ee51e037ab18006511f12f8c
Author:     Ahmad Khalifa <ahmadkhalifa570@gmail.com>
AuthorDate: 2024-09-30 17:31:32 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-12-05 00:19:18 +0000

    loader: remove check for 2M alignment
    
    Instead of listing every arch we support, always define
    EFI_STAGING_2M_ALIGN to 1.
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1446
---
 stand/efi/loader/copy.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/stand/efi/loader/copy.c b/stand/efi/loader/copy.c
index 485ec152ae21..935db3a420ba 100644
--- a/stand/efi/loader/copy.c
+++ b/stand/efi/loader/copy.c
@@ -178,12 +178,7 @@ out:
 #define	EFI_STAGING_SIZE	DEFAULT_EFI_STAGING_SIZE
 #endif
 
-#if defined(__aarch64__) || defined(__amd64__) || defined(__arm__) || \
-    defined(__riscv) || defined(__i386__)
 #define	EFI_STAGING_2M_ALIGN	1
-#else
-#define	EFI_STAGING_2M_ALIGN	0
-#endif
 
 #if defined(__amd64__) || defined(__i386__)
 #define	EFI_STAGING_SLOP	M(8)