Commit 1340f952 authored by Spencer Oliver's avatar Spencer Oliver
Browse files

flash: fix stellaris class regression

for some reason the following commit was incorrect

Only the Sandstorm and Fury class should write this register.

Change-Id: Ie18f1da6e9b59fb99cca47aa93c7f2fee447ccea
Signed-off-by: default avatarSpencer Oliver <>
Tested-by: jenkins
parent 15f546e9
......@@ -529,7 +529,7 @@ static void stellaris_set_flash_timing(struct flash_bank *bank)
uint32_t usecrl = (stellaris_info->mck_freq/1000000ul-1);
/* only valid for Sandstorm and Fury class devices */
if (stellaris_info->target_class < 2)
if (stellaris_info->target_class > 1)
LOG_DEBUG("usecrl = %i",(int)(usecrl));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment