From 16af5541ba99487df70320c53b44afb52cebf41c Mon Sep 17 00:00:00 2001 From: WaterByWind Date: Wed, 20 Mar 2019 22:01:09 -0400 Subject: [PATCH] Update index for pin bank 'H' in sun50i-a64-fixup.scr-cmd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mirror similar PR from sunxi-dev to sunxi-next: Fix off-by-one numeric index for pin bank ‘H’ in sun50i-a64-fixup.scr-cmd --- patch/kernel/sunxi-next/general-sunxi-overlays.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/kernel/sunxi-next/general-sunxi-overlays.patch b/patch/kernel/sunxi-next/general-sunxi-overlays.patch index a3ac2d657..2b0c39906 100644 --- a/patch/kernel/sunxi-next/general-sunxi-overlays.patch +++ b/patch/kernel/sunxi-next/general-sunxi-overlays.patch @@ -5068,7 +5068,7 @@ index 0000000..6e192b5 +test "${tmp_bank}" = "B" && setenv tmp_bank 1; +test "${tmp_bank}" = "C" && setenv tmp_bank 2; +test "${tmp_bank}" = "D" && setenv tmp_bank 3; -+test "${tmp_bank}" = "H" && setenv tmp_bank 6' ++test "${tmp_bank}" = "H" && setenv tmp_bank 7' + +if test -n "${param_spinor_spi_bus}"; then + test "${param_spinor_spi_bus}" = "0" && setenv tmp_spi_path "spi@1c68000"