commit | 349689b8021f0a7d7923099bd8bbe5eab117d4fa | [log] [tgz] |
---|---|---|
author | York Sun <yorksun@freescale.com> | Tue Apr 01 14:20:49 2014 -0700 |
committer | York Sun <yorksun@freescale.com> | Tue Apr 22 17:58:49 2014 -0700 |
tree | eafb5be0e0ad33d739baa1ed885a7cdc9f412561 | |
parent | 2ee6c52e229e1d0d1e78c3efbc67bc8bb868fb25 [diff] |
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: York Sun <yorksun@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>