Skip to content
Commit 422b49e2 authored by Josh Wu's avatar Josh Wu Committed by Andreas Bießmann
Browse files

atmel_nand: use the definition: PMECC_OOB_RESERVED_BYTES instead magic number



As atmel_nand_ecc.h is sync with v4.1 kernel, which adds the
PMECC_OOB_RESERVED_BYTES. So use it in the driver.

Signed-off-by: default avatarJosh Wu <josh.wu@atmel.com>
Reviewed-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
Signed-off-by: default avatarWenyou Yang <wenyou.yang@atmel.com>
parent 4c6a6ea3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment