summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-17 10:47:53 -0700
committerTom Rini <trini@konsulko.com>2023-01-23 18:11:40 -0500
commit2b3ebf2013d808fc02df0fecf7eb22a6dfaffeb5 (patch)
tree5dde48f554a5b379c1623be9d54c5ba9fabda768 /net
parenta60f7a3e35bc6da231046a8931072027575c6939 (diff)
downloadu-boot-2b3ebf2013d808fc02df0fecf7eb22a6dfaffeb5.tar.gz
u-boot-2b3ebf2013d808fc02df0fecf7eb22a6dfaffeb5.tar.bz2
u-boot-2b3ebf2013d808fc02df0fecf7eb22a6dfaffeb5.zip
ata: Don't try to use non-existent ports
The controller indicates the number of ports but also has a port map which specifies which ports are actually valid. Make use of this to avoid trying to send commands to an invalid port. This avoids a crash on some controllers. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions