Update index for pin bank 'H' in sun50i-a64-fixup.scr-cmd

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
This commit is contained in:
WaterByWind 2019-03-20 22:01:09 -04:00
parent c4b96d21c6
commit 16af5541ba

View file

@ -5068,7 +5068,7 @@ index 0000000..6e192b5
+test "${tmp_bank}" = "B" && setenv tmp_bank 1; +test "${tmp_bank}" = "B" && setenv tmp_bank 1;
+test "${tmp_bank}" = "C" && setenv tmp_bank 2; +test "${tmp_bank}" = "C" && setenv tmp_bank 2;
+test "${tmp_bank}" = "D" && setenv tmp_bank 3; +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 +if test -n "${param_spinor_spi_bus}"; then
+ test "${param_spinor_spi_bus}" = "0" && setenv tmp_spi_path "spi@1c68000" + test "${param_spinor_spi_bus}" = "0" && setenv tmp_spi_path "spi@1c68000"