common: Drop linux/bitops.h from common header
[platform/kernel/u-boot.git] / board / ti / common / board_detect.h
index 1a85b7f..9f75b5c 100644 (file)
@@ -9,6 +9,7 @@
 #define __BOARD_DETECT_H
 
 /* TI EEPROM MAGIC Header identifier */
+#include <linux/bitops.h>
 #define TI_EEPROM_HEADER_MAGIC 0xEE3355AA
 #define TI_DEAD_EEPROM_MAGIC   0xADEAD12C
 
@@ -320,6 +321,15 @@ int __maybe_unused ti_i2c_eeprom_am6_get_base(int bus_addr, int dev_addr);
 bool board_ti_is(char *name_tag);
 
 /**
+ * board_ti_k3_is() - Board detection logic for TI K3 EVMs
+ * @name_tag:  Tag used in eeprom for the board
+ *
+ * Return: false if board information does not match OR eeprom wasn't read.
+ *        true otherwise
+ */
+bool board_ti_k3_is(char *name_tag);
+
+/**
  * board_ti_rev_is() - Compare board revision for TI EVMs
  * @rev_tag:   Revision tag to check in eeprom
  * @cmp_len:   How many chars to compare?