AM335x: FIX BCH8 error correction

BCH8 error correction module was wrongly handling in following steps.
1. Method for calculation of the error location.
2. Loading of syndrome polynomial for ELM module.
3. Enabling of GPMC ECC engine done.
This patch fixes the same.

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
2 files changed