/** @file\r
\r
- Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
},\r
0, // UfsHostController\r
0, // UfsHcBase\r
- 0, // Capabilities\r
+ {0, 0}, // UfsHcInfo\r
0, // TaskTag\r
0, // UtpTrlBase\r
0, // Nutrs\r
Private->UfsHostController = UfsHc;\r
Private->UfsHcBase = UfsHcBase;\r
InitializeListHead (&Private->Queue);\r
+ Status = GetUfsHcInfo (Private);\r
+ if (EFI_ERROR (Status)) {\r
+ DEBUG ((DEBUG_ERROR, "Failed to initialize UfsHcInfo\n"));\r
+ goto Error;\r
+ }\r
\r
//\r
// Initialize UFS Host Controller H/W.\r