aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorSivaprakash Murugesan <[email protected]>2020-06-12 13:28:16 +0530
committerMiquel Raynal <[email protected]>2020-06-26 08:35:10 +0200
commitcb272395dceef1652247dad08a50ed4153ffbd43 (patch)
tree56e4e3eb12f7f773e2ce81c8556b4190822d209e /scripts/gcc-plugins/cyc_complexity_plugin.c
parent443440cc4a901af462239d286cd10721aa1c7dfc (diff)
mtd: rawnand: qcom: set BAM mode only if not set already
BAM is DMA controller on QCOM ipq platforms, BAM mode on NAND driver is set by writing BAM_MODE_EN bit on NAND_CTRL register. NAND_CTRL is an operational register and in BAM mode operational registers are read only. So, before enabling BAM mode by writing the NAND_CTRL register, check if BAM mode was already enabled by the bootloader, and enable BAM mode only if it is not enabled already. Signed-off-by: Sivaprakash Murugesan <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions