diff options
author | pekon gupta <pekon@ti.com> | 2013-11-18 19:03:02 +0530 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-11-21 13:33:41 -0600 |
commit | 2c17e6d1d996a1b8b9325de15f253a13d5877dee (patch) | |
tree | 5404e5dea7c6e046fdaaa07fa98f4231c6fc1340 /include/linux/kbuild.h | |
parent | 3f719069c884284b2457448a7afe32b02bd4f782 (diff) |
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: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'include/linux/kbuild.h')
0 files changed, 0 insertions, 0 deletions