We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ba01b commit 9cd2c94Copy full SHA for 9cd2c94
boot/bootutil/include/bootutil/bootutil_public.h
@@ -43,20 +43,13 @@
43
#include <string.h>
44
#include <flash_map_backend/flash_map_backend.h>
45
#include <mcuboot_config/mcuboot_config.h>
46
+#include <bootutil/bootutil_macros.h>
47
#include <bootutil/image.h>
48
49
#ifdef __cplusplus
50
extern "C" {
51
#endif
52
-#ifndef ALIGN_UP
53
-#define ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1))
54
-#endif
55
-
56
-#ifndef ALIGN_DOWN
57
-#define ALIGN_DOWN(num, align) ((num) & ~((align) - 1))
58
59
60
/** Attempt to boot the contents of the primary slot. */
61
#define BOOT_SWAP_TYPE_NONE 1
62
0 commit comments