]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/fdtdec.h
of: clean up OF_CONTROL ifdef conditionals
[karo-tx-uboot.git] / include / fdtdec.h
index 5796e272b29c71cc27be4a36e7503a489dfbf33d..0cb6fa0075028ecc08f44c7e0d9a463a9c7ae0ce 100644 (file)
@@ -45,16 +45,6 @@ struct fdt_memory {
 #define SPL_BUILD      0
 #endif
 
-#ifdef CONFIG_OF_CONTROL
-# if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_OF_CONTROL)
-#  define OF_CONTROL 0
-# else
-#  define OF_CONTROL 1
-# endif
-#else
-# define OF_CONTROL 0
-#endif
-
 /*
  * Information about a resource. start is the first address of the resource
  * and end is the last address (inclusive). The length of the resource will