summaryrefslogtreecommitdiff
path: root/include/samsung-usb-phy-uboot.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-08-30 10:01:43 -0400
committerTom Rini <trini@konsulko.com>2021-08-30 10:01:43 -0400
commit1756f40225e803bc93a9905425dbfaa1abf1623d (patch)
treeafee089c5d3e7a6839622493e8082378573f8c9d /include/samsung-usb-phy-uboot.h
parentb9cb74a5aa256fc34a1b2b9dd847a985b91f34f6 (diff)
parentabe1e1c968bb4b5db29a1412bfd55d5d76ca0454 (diff)
downloadu-boot-WIP/30Aug2021.tar.gz
Merge branch '2021-08-30-fix-hash-algos-in-spl'WIP/30Aug2021
Quoting Alex: Simon and I recently worked on killing a bunch extra definitions. One of the side-effects is that certain hash algorithms won't work in SPL when used in the context of FIT verification. For example, in FIT verification, CONFIG_IS_ENABLED(SHA256) is used (good), but there is no corresponding CONFIG_SPL_SHA256 (bad). This will always be false for SPL, hence certain "hash" algos are broken. This series resolves the selection by replacing the broken selection with hash_lookup_algo(), which does not have the aforementioned problem. This at the very least allows 'algo = "sha256"' FIT nodes to work in SPL. This series does not attempt to add individual SHA/CRC/MD5 configs for SPL. Hash algo selection for SPL has been problematic even before. This series is meant as an emergency fix, so it does not attempt to tackle general refactoring issues.
Diffstat (limited to 'include/samsung-usb-phy-uboot.h')
0 files changed, 0 insertions, 0 deletions