]> git.sur5r.net Git - u-boot/blobdiff - drivers/nvme/nvme.h
mtd: nand: mxs_nand_spl: add mxs_flash_full_ident
[u-boot] / drivers / nvme / nvme.h
index cd411be83d550287dbdcfb25eba931f81d7b413a..922f7abfe8562bdf891f43f30a17ce47afeb627c 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2017 NXP Semiconductors
  * Copyright (C) 2017 Bin Meng <bmeng.cn@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __DRIVER_NVME_H__
@@ -621,19 +620,13 @@ struct nvme_dev {
        char model[40];
        char firmware_rev[8];
        u32 max_transfer_shift;
+       u64 cap;
        u32 stripe_size;
        u32 page_size;
        u8 vwc;
        u64 *prp_pool;
        u32 prp_entry_num;
        u32 nn;
-       u32 blk_dev_start;
-};
-
-struct nvme_info {
-       int ns_num;     /*the number of nvme namespaces*/
-       int ndev_num;   /*the number of nvme devices*/
-       struct list_head dev_list;
 };
 
 /*
@@ -651,6 +644,4 @@ struct nvme_ns {
        u32 mode_select_block_len;
 };
 
-extern struct nvme_info *nvme_info;
-
 #endif /* __DRIVER_NVME_H__ */