diff options
author | Julius Werner <jwerner@chromium.org> | 2021-07-20 16:35:31 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-13 13:15:07 +0000 |
commit | f4c7f8b5ea4a94e092df9c75e701362ef272e82e (patch) | |
tree | 86ae5950aeeacfdacadffaf093fbf11539ee9d9d /firmware | |
parent | 8e3b876858a975d35af249126a41a3e260a5c844 (diff) | |
download | vboot-f4c7f8b5ea4a94e092df9c75e701362ef272e82e.tar.gz |
firmware: 2sysincludes: Remove byteswap.h and memory.h
These have always been in here but I don't think anyone remembers what
they are for. The firmware library doesn't require endian accesses
(other than the TPM2 marshalling code which provides its own... and I
guess the GPT code isn't actually safe for big-endian systems, which is
probably bad, but a topic for another patch). As far as I can tell, none
of our environments actually define the macros that these two are
guarded by. Let's get rid of them and see what breaks.
BRANCH=none
BUG=none
TEST=none
Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I277336cf768d7d9f5aaf7c032632e4a299b4bb51
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3063691
Commit-Queue: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/2lib/include/2sysincludes.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/2lib/include/2sysincludes.h b/firmware/2lib/include/2sysincludes.h index 06717724..1e671e9a 100644 --- a/firmware/2lib/include/2sysincludes.h +++ b/firmware/2lib/include/2sysincludes.h @@ -21,9 +21,4 @@ #include <stdlib.h> #include <string.h> -#if defined(HAVE_ENDIAN_H) && defined(HAVE_LITTLE_ENDIAN) -#include <byteswap.h> -#include <memory.h> -#endif - #endif /* VBOOT_REFERENCE_2SYSINCLUDES_H_ */ |