]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/env_flags.c
ARM: tegra: remove "0, " from DT unit addresses
[karo-tx-uboot.git] / common / env_flags.c
index 735bba5f8b614592b10847d1c0359ebf961a47db..921d3770ead5b6fb5af561c9e82744b2e31eef71 100644 (file)
@@ -15,6 +15,7 @@
 #include <env_attr.h>
 #include <env_flags.h>
 #define getenv fw_getenv
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
 #else
 #include <common.h>
 #include <environment.h>