sfdp.c (245bbe80e01b15655a1b75dff90ec304f9992190) | sfdp.c (025a06c1104cd8995646b761d117816b5f28c873) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2005, Intec Automation Inc. 4 * Copyright (C) 2014, Freescale Semiconductor, Inc. 5 */ 6 7#include <linux/slab.h> 8#include <linux/sort.h> --- 609 unchanged lines hidden (view full) --- 618 switch (settings & SMPT_CMD_ADDRESS_LEN_MASK) { 619 case SMPT_CMD_ADDRESS_LEN_0: 620 return 0; 621 case SMPT_CMD_ADDRESS_LEN_3: 622 return 3; 623 case SMPT_CMD_ADDRESS_LEN_4: 624 return 4; 625 case SMPT_CMD_ADDRESS_LEN_USE_CURRENT: | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2005, Intec Automation Inc. 4 * Copyright (C) 2014, Freescale Semiconductor, Inc. 5 */ 6 7#include <linux/slab.h> 8#include <linux/sort.h> --- 609 unchanged lines hidden (view full) --- 618 switch (settings & SMPT_CMD_ADDRESS_LEN_MASK) { 619 case SMPT_CMD_ADDRESS_LEN_0: 620 return 0; 621 case SMPT_CMD_ADDRESS_LEN_3: 622 return 3; 623 case SMPT_CMD_ADDRESS_LEN_4: 624 return 4; 625 case SMPT_CMD_ADDRESS_LEN_USE_CURRENT: |
626 /* fall through */ | |
627 default: 628 return nor->addr_width; 629 } 630} 631 632/** 633 * spi_nor_smpt_read_dummy() - return the configuration detection command read 634 * latency, in clock cycles. --- 571 unchanged lines hidden --- | 626 default: 627 return nor->addr_width; 628 } 629} 630 631/** 632 * spi_nor_smpt_read_dummy() - return the configuration detection command read 633 * latency, in clock cycles. --- 571 unchanged lines hidden --- |