add validator to restrict the flexibility of LConfig
[lunaix-os.git] / lunaix-os / hal / LConfig
index 26f53b8815862704ee5aa5b504173128f0af331d..b2e00fa77c7b659a6147b79aa9dddde55b98658e 100644 (file)
@@ -16,8 +16,9 @@ def hal():
             devicetree might be mandatory and perhaps the only
             way.
         """
+        require(not arch_x86)
 
-        return arch.val not in ["x86_64", "i386"]
+        return False
 
     @"Maximum size of device tree blob (in KiB)"
     @readonly