aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-lantiq/patches/0018-MIPS-add-SPI-flash-init-hook.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-04-12 21:21:14 +0000
committerJohn Crispin <blogic@openwrt.org>2014-04-12 21:21:14 +0000
commit9c2f5aeffa9ad2ac4d7313cda94ac03ccf607c47 (patch)
treee35db02eb2bdf67a2a6076563158753649f63ad9 /package/boot/uboot-lantiq/patches/0018-MIPS-add-SPI-flash-init-hook.patch
parent80894a6f0e1f089bb78ac1457c8a3f0e0ccfc205 (diff)
downloadmaster-187ad058-9c2f5aeffa9ad2ac4d7313cda94ac03ccf607c47.tar.gz
master-187ad058-9c2f5aeffa9ad2ac4d7313cda94ac03ccf607c47.tar.bz2
master-187ad058-9c2f5aeffa9ad2ac4d7313cda94ac03ccf607c47.zip
uboot-lantiq: update to v2013.10
Patches created from tree: git@github.com:danielschwierzeck/u-boot-lantiq.git v2013.10..u-boot-lantiq-v2013.10-openwrt4 Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40482 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-lantiq/patches/0018-MIPS-add-SPI-flash-init-hook.patch')
-rw-r--r--package/boot/uboot-lantiq/patches/0018-MIPS-add-SPI-flash-init-hook.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/package/boot/uboot-lantiq/patches/0018-MIPS-add-SPI-flash-init-hook.patch b/package/boot/uboot-lantiq/patches/0018-MIPS-add-SPI-flash-init-hook.patch
deleted file mode 100644
index 71f094b65a..0000000000
--- a/package/boot/uboot-lantiq/patches/0018-MIPS-add-SPI-flash-init-hook.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 888b33e84082fe72d60d528c05c885c0c9d70bc4 Mon Sep 17 00:00:00 2001
-From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-Date: Tue, 6 Nov 2012 21:19:43 +0100
-Subject: MIPS: add SPI flash init hook
-
-Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
---- a/arch/mips/lib/board.c
-+++ b/arch/mips/lib/board.c
-@@ -32,6 +32,7 @@
- #include <nand.h>
- #include <onenand_uboot.h>
- #include <spi.h>
-+#include <spi_flash.h>
-
- #ifdef CONFIG_BITBANGMII
- #include <miiphy.h>
-@@ -312,6 +313,16 @@ void board_init_r(gd_t *id, ulong dest_a
- onenand_init();
- #endif
-
-+#ifdef CONFIG_CMD_SPI
-+ puts("SPI: ");
-+ spi_init(); /* go init the SPI */
-+ puts("ready\n");
-+#endif
-+
-+#if defined(CONFIG_SPI_FLASH)
-+ spi_flash_init();
-+#endif
-+
- /* relocate environment function pointers etc. */
- env_relocate();
-
-@@ -335,12 +346,6 @@ void board_init_r(gd_t *id, ulong dest_a
- /* Initialize from environment */
- load_addr = getenv_ulong("loadaddr", 16, load_addr);
-
--#ifdef CONFIG_CMD_SPI
-- puts("SPI: ");
-- spi_init(); /* go init the SPI */
-- puts("ready\n");
--#endif
--
- #if defined(CONFIG_MISC_INIT_R)
- /* miscellaneous platform dependent initialisations */
- misc_init_r();