Skip to content
Snippets Groups Projects
Commit 2c17e6d1 authored by pekon gupta's avatar pekon gupta Committed by Scott Wood
Browse files

am335x: fix GPMC config for NAND and NOR SPL boot


GPMC controller is common IP to interface with both NAND and NOR flash devices.
Also, it supports max 8 chip-selects, which can be independently connected to
any of the devices.
But ROM code expects the boot-device to be connected to only chip-select[0].
Thus to resolve conflict between NOR and NAND boot. This patch:
- combines NOR and NAND configs spread in board files to common gpmc_init()
- configures GPMC based on boot-mode selected for SPL boot.

Signed-off-by: default avatarPekon Gupta <pekon@ti.com>
parent 3f719069
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