
Dear "Daniel Schuler",
In message 7909dbcf0812292347x63b36946r7b7feb90dcbb5a6b@mail.gmail.com you wrote:
The new SBC-2410A board from Embest now ships with 2MB NOR FLASH, for which CONFIG_AMD_LV160 has been defined in include/configs/sbc2410x.h
This chip is already supported in other architectures, so AMD_ID_LV160B has been used as-is in board/sbc2410x/flash.c
Signed-off-by: Daniel Schuler dbschuler@gmail.com
board/sbc2410x/flash.c | 6 ++++++ include/configs/sbc2410x.h | 21 ++++++++++++++------- 2 files changed, 20 insertions(+), 7 deletions(-)
Your patch has been corrupted by your mailer which wrapped long lines.
But I also think that's the wrong approach. Instead of spending (or more precisely wasting) efforts on that old custom flash driver you should change the code to use the generic CFI driver instead.
Thanks.
Best regards,
Wolfgang Denk