diff --git a/include/linker/linker-tool-mwdt.h b/include/linker/linker-tool-mwdt.h index 59fb7b54997..890b66300c1 100644 --- a/include/linker/linker-tool-mwdt.h +++ b/include/linker/linker-tool-mwdt.h @@ -21,16 +21,6 @@ #define ASSERT(x, y) #define SUBALIGN(x) ALIGN(x) -#define LOG2CEIL(x) ((((x) <= 2048) ? 11 : (((x) <= 4096)?12:(((x) <= 8192) ? \ - 13 : (((x) <= 16384) ? 14 : (((x) <= 32768) ? 15:(((x) <= 65536) ? \ - 16 : (((x) <= 131072) ? 17 : (((x) <= 262144) ? 18:(((x) <= 524288) ? \ - 19 : (((x) <= 1048576) ? 20 : (((x) <= 2097152) ? \ - 21 : (((x) <= 4194304) ? 22 : (((x) <= 8388608) ? \ - 23 : (((x) <= 16777216) ? 24 : (((x) <= 33554432) ? \ - 25 : (((x) <= 67108864) ? 26 : (((x) <= 134217728) ? \ - 27 : (((x) <= 268435456) ? 28 : (((x) <= 536870912) ? \ - 29 : (((x) <= 1073741824) ? 30 : (((x) <= 2147483648) ? \ - 31 : 32)))))))))))))))))))))) /* * The GROUP_START() and GROUP_END() macros are used to define a group * of sections located in one memory area, such as RAM, ROM, etc.