Skip to content

Commit

Permalink
nvme: separate nvme and lightnvm
Browse files Browse the repository at this point in the history
This commit separates lightnvm from nvme by moving functions and types
to dedicated files.

Also, because we intend to support more dialects, move the nvme device
to a subdirectory so we do not clutter the hw/block directory too much.

Signed-off-by: Klaus B. A. Jensen <klaus.jensen@cnexlabs.com>
  • Loading branch information
birkelund committed Mar 1, 2019
1 parent 253fcb8 commit bf40471
Show file tree
Hide file tree
Showing 11 changed files with 1,779 additions and 1,716 deletions.
1 change: 1 addition & 0 deletions Makefile.objs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ trace-events-subdirs += hw/arm
trace-events-subdirs += hw/audio
trace-events-subdirs += hw/block
trace-events-subdirs += hw/block/dataplane
trace-events-subdirs += hw/block/nvme
trace-events-subdirs += hw/char
trace-events-subdirs += hw/display
trace-events-subdirs += hw/dma
Expand Down
2 changes: 1 addition & 1 deletion hw/block/Makefile.objs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ common-obj-$(CONFIG_PFLASH_CFI02) += pflash_cfi02.o
common-obj-$(CONFIG_XEN) += xen-block.o
common-obj-$(CONFIG_ECC) += ecc.o
common-obj-$(CONFIG_ONENAND) += onenand.o
common-obj-$(CONFIG_NVME_PCI) += nvme.o
common-obj-$(CONFIG_NVME_PCI) += nvme/nvme.o nvme/lightnvm.o

obj-$(CONFIG_SH4) += tc58128.o

Expand Down
73 changes: 0 additions & 73 deletions hw/block/lightnvm.h

This file was deleted.

Loading

0 comments on commit bf40471

Please sign in to comment.