projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ti: common: board_detect: Replace hardcoded value with macro
[oweals/u-boot.git]
/
board
/
ti
/
common
/
board_detect.c
diff --git
a/board/ti/common/board_detect.c
b/board/ti/common/board_detect.c
index e0ae1a51a6a49d59ab8d5e2a46f4662bea105ce9..7c552d20656adcfc08d5d88fb7e91377f3dc8ca4 100644
(file)
--- a/
board/ti/common/board_detect.c
+++ b/
board/ti/common/board_detect.c
@@
-171,7
+171,7
@@
int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr)
goto already_read;
/* Initialize with a known bad marker for i2c fails.. */
- ep->header =
0xADEAD12
C;
+ ep->header =
TI_DEAD_EEPROM_MAGI
C;
ep->name[0] = 0x0;
ep->version[0] = 0x0;
ep->serial[0] = 0x0;