Snap for 7483611 from 0c94c3ec6cdcd62683436ffff016d9bfa114179b to mainline-documentsui-release

Change-Id: I6b32fd146716332182edf29a692aac88965337ed
diff --git a/core/Makefile b/core/Makefile
index 3b14386..28edc87 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1117,11 +1117,6 @@
 endif
 
 ifdef INTERNAL_BOOTCONFIG
-  ifneq (,$(findstring androidboot.hardware=, $(INTERNAL_BOOTCONFIG)))
-    $(error "androidboot.hardware" BOOTCONFIG parameter is not supported due \
-      to bootconfig limitations. Use "hardware" instead. INTERNAL_BOOTCONFIG: \
-      $(INTERNAL_BOOTCONFIG))
-  endif
   INTERNAL_VENDOR_BOOTCONFIG_TARGET := $(PRODUCT_OUT)/vendor-bootconfig.img
   $(INTERNAL_VENDOR_BOOTCONFIG_TARGET):
 	rm -f $@