#
# Kconfig - pvc driver configurations
#
# Copyright (c) 2020 Panasonic Corporation
# 2020-07-16 Modified
#
# This file may be used subject to the terms and conditions of the
# GNU General Public License Version 2, or any later version
# at your option, as published by the Free Software Foundation.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#

# =====>
config PVC_USB_BUFFER
    tristate "Buffer Driver for PVC USB peripheral functionality (DEBUG)"
    default n
    depends on USB_GADGET
    help
      The Buffer Driver for PVC USB Mass Storage (USB Gadget).

config BUFFER_DM
    bool "Use DM"
    default n
    depends on PVC_USB_BUFFER && DM

menu "Buffer driver options"
    depends on PVC_USB_BUFFER

config BUFFER_SIZE_ORDER
    int "Order of Buffer Size"
    default 7
    help
      This parameter is the order of buffer size.
      Default size is 7.

config BUFFER_NUM
    int "Block Number of Buffer"
    default 1
    help
      This parameter is the block number of buffer.
      Default number is 1.

endmenu

# <=====

