Skip to content
Snippets Groups Projects
Commit 349689b8 authored by York Sun's avatar York Sun
Browse files

drivers/ddr: Fix possible out of bounds error


This is a theoretical possible out of bounds error in DDR driver. Adding
check before using array index. Also change some runtime conditions to
pre-compiling conditions.

Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 2ee6c52e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment