diff options
author | Piotr Zierhoffer <pzierhoffer@antmicro.com> | 2015-07-23 14:33:03 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-08-08 16:26:19 +0200 |
commit | 960caeba8f76baffc7201b7535de964f406d48b3 (patch) | |
tree | f1f311e73084936d724ad03310eb1b224d69cf57 /include/configs/sunxi-common.h | |
parent | aeb4b0d3b35c9eb361bcffee9c48e9bd8debd5b9 (diff) | |
download | u-boot-imx-960caeba8f76baffc7201b7535de964f406d48b3.zip u-boot-imx-960caeba8f76baffc7201b7535de964f406d48b3.tar.gz u-boot-imx-960caeba8f76baffc7201b7535de964f406d48b3.tar.bz2 |
sunxi: nand: Add board configuration options
When SPL_NAND_SUNXI option is selected in config, set some configuration
options for sunxi NAND.
This commit also introduces the configurable options in Kconfig.
Signed-off-by: Peter Gielda <pgielda@antmicro.com>
Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index edcacd5..71b2368 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -139,6 +139,16 @@ #define CONFIG_INITRD_TAG #define CONFIG_SERIAL_TAG +#if defined(CONFIG_SPL_NAND_SUNXI) +#define CONFIG_SPL_NAND_DRIVERS +#define CONFIG_SPL_NAND_SUPPORT + +#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000 +#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x008000 + +#endif + + /* mmc config */ #if !defined(CONFIG_UART0_PORT_F) #define CONFIG_MMC |