diff options
author | Pratyush Yadav <p.yadav@ti.com> | 2021-06-26 00:47:11 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2021-06-28 11:58:10 +0530 |
commit | 18b0de0f3be223cd2f468c03b5ea02e5f6bc6d82 (patch) | |
tree | d1633442085eb56e287a9948c880104f8a942b4c /drivers/ddr/microchip/ddr2_timing.h | |
parent | 1af0334ab4effb0bd17c3b0cf1fc1b65ff4f3ef8 (diff) |
mtd: spi-nor-core: Add a ->setup() hook
nor->setup() can be used by flashes to configure settings in case they
have any peculiarities that can't be easily expressed by the generic
spi-nor framework. This includes things like different opcodes, dummy
cycles, page size, uniform/non-uniform sector sizes, etc.
Move related declarations to avoid forward declarations.
Inspired by the Linux kernel's setup() hook.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2_timing.h')
0 files changed, 0 insertions, 0 deletions