util/amdfwtool/amdfwtool: Don't rewrite macros
Change-Id: Iea9dc65584c751e4d02524582b744ec9732e2c04 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68376 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#define _AMD_FW_TOOL_H_
|
||||
|
||||
#include <commonlib/bsd/compiler.h>
|
||||
#include <commonlib/bsd/helpers.h>
|
||||
#include <openssl/sha.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
@@ -373,6 +374,4 @@ uint8_t process_config(FILE *config, amd_cb_config *cb_config, uint8_t print_dep
|
||||
#define LINE_EOF (1)
|
||||
#define LINE_TOO_LONG (2)
|
||||
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
|
||||
|
||||
#endif /* _AMD_FW_TOOL_H_ */
|
||||
|
Reference in New Issue
Block a user