Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
1d93ce63
"vscode:/vscode.git/clone" did not exist on "59baf390e96751fc51299ecefe921ba8718ba3aa"
Commit
1d93ce63
authored
Feb 23, 2021
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Feb 23, 2021
Browse files
Merge "nand: stm32_fmc_nand: remove dead code" into integration
parents
1272391e
3ed01657
Changes
1
Show whitespace changes
Inline
Side-by-side
drivers/st/fmc/stm32_fmc2_nand.c
View file @
1d93ce63
/*
* Copyright (c) 2019-202
0
, STMicroelectronics - All Rights Reserved
* Copyright (c) 2019-202
1
, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
*/
...
...
@@ -200,9 +200,6 @@ static void stm32_fmc2_nand_setup_timing(void)
if
((
twait
<
NAND_TCS_MIN
)
&&
(
tset_mem
<
(
NAND_TCS_MIN
-
twait
)))
{
tset_mem
=
NAND_TCS_MIN
-
twait
;
}
if
((
twait
<
NAND_TALS_MIN
)
&&
(
tset_mem
<
(
NAND_TALS_MIN
-
twait
)))
{
tset_mem
=
NAND_TALS_MIN
-
twait
;
}
if
((
twait
>
thiz
)
&&
((
twait
-
thiz
)
<
NAND_TDS_MIN
)
&&
(
tset_mem
<
(
NAND_TDS_MIN
-
(
twait
-
thiz
))))
{
tset_mem
=
NAND_TDS_MIN
-
(
twait
-
thiz
);
...
...
@@ -244,12 +241,6 @@ static void stm32_fmc2_nand_setup_timing(void)
if
((
twait
<
NAND_TCS_MIN
)
&&
(
tset_att
<
(
NAND_TCS_MIN
-
twait
)))
{
tset_att
=
NAND_TCS_MIN
-
twait
;
}
if
((
twait
<
NAND_TCLS_MIN
)
&&
(
tset_att
<
(
NAND_TCLS_MIN
-
twait
)))
{
tset_att
=
NAND_TCLS_MIN
-
twait
;
}
if
((
twait
<
NAND_TALS_MIN
)
&&
(
tset_att
<
(
NAND_TALS_MIN
-
twait
)))
{
tset_att
=
NAND_TALS_MIN
-
twait
;
}
if
((
thold_mem
<
NAND_TRHW_MIN
)
&&
(
tset_att
<
(
NAND_TRHW_MIN
-
thold_mem
)))
{
tset_att
=
NAND_TRHW_MIN
-
thold_mem
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment