summaryrefslogtreecommitdiffstats
path: root/board/tqc/tqm834x
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-01-21 09:18:00 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 07:52:33 +0200
commit87ee51048eae94eb5c075b6c900d4da5e9531cf4 (patch)
treeed237764fa49cd1ec75442514cadf5854145616b /board/tqc/tqm834x
parent5d2f4c9641bae821d421a3d362596f84905daca2 (diff)
downloadu-boot-87ee51048eae94eb5c075b6c900d4da5e9531cf4.tar.gz
u-boot-87ee51048eae94eb5c075b6c900d4da5e9531cf4.tar.xz
u-boot-87ee51048eae94eb5c075b6c900d4da5e9531cf4.zip
tqm834x: Expand CONFIG_SYS_OR_TIMING_FLASH macro
We want to normalize all BR/OR config lines as much as possible. The TQM834x board uses CONFIG_SYS_OR_TIMING_FLASH in a OR definition, which we want to remove. But CONFIG_SYS_OR_TIMING_FLASH is also used outside of the config file. Replace these usages with the definition of the variable, so we can remove the variable in the next patch. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'board/tqc/tqm834x')
-rw-r--r--board/tqc/tqm834x/tqm834x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/tqc/tqm834x/tqm834x.c b/board/tqc/tqm834x/tqm834x.c
index 7c92f4f54c..c75251e132 100644
--- a/board/tqc/tqm834x/tqm834x.c
+++ b/board/tqc/tqm834x/tqm834x.c
@@ -235,8 +235,8 @@ static int detect_num_flash_banks(void)
debug("Number of flash banks detected: %d\n", cfi_flash_num_flash_banks);
/* set OR0 and BR0 */
- set_lbc_or(0, CONFIG_SYS_OR_TIMING_FLASH |
- (-(total_size) & OR_GPCM_AM));
+ set_lbc_or(0, OR_GPCM_CSNT | OR_GPCM_ACS_DIV4 | OR_GPCM_SCY_5 |
+ OR_GPCM_TRLX | (-(total_size) & OR_GPCM_AM));
set_lbc_br(0, (CONFIG_SYS_FLASH_BASE & BR_BA) |
(BR_MS_GPCM | BR_PS_32 | BR_V));