summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2014-12-25 02:34:47 +0200
committerHans de Goede <hdegoede@redhat.com>2015-01-14 14:56:37 +0100
commitf0ce28e9eda9cb1430c51df1840ce8cd483f75c3 (patch)
treec67c32e6fdba758f5812ebf35f0114fb6cc1d1c8 /scripts
parent1d7cd7bf7d942b2b2880187ea97108a2cc564361 (diff)
downloadu-boot-imx-f0ce28e9eda9cb1430c51df1840ce8cd483f75c3.zip
u-boot-imx-f0ce28e9eda9cb1430c51df1840ce8cd483f75c3.tar.gz
u-boot-imx-f0ce28e9eda9cb1430c51df1840ce8cd483f75c3.tar.bz2
sunxi: Fix CONFIG_UART0_PORT_F build and add it to menuconfig
The CONFIG_UART0_PORT_F option has been supported since http://git.denx.de/?p=u-boot.git;a=commit;h=ff2b47f6a9cc1025 This option is primarily useful only for low level u-boot debugging on tablets, where normal UART0 is difficult to access and requires device disassembly and/or soldering. This patch now allows it to be selected from menuconfig. A dependency on SPL_FEL is added because u-boot does not support booting from NAND yet and also booting from SD card is impossible when a MicroSD breakout board is plugged into the SD slot. Additionally a compilation problem is fixed: common/spl/built-in.o: In function `spl_mmc_load_image': /tmp/u-boot-sunxi/common/spl/spl_mmc.c:94: undefined reference to `mmc_initialize' /tmp/u-boot-sunxi/common/spl/spl_mmc.c:96: undefined reference to `find_mmc_device' /tmp/u-boot-sunxi/common/spl/spl_mmc.c:104: undefined reference to `mmc_init' scripts/Makefile.spl:206: recipe for target 'spl/u-boot-spl' failed Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/multiconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index 70f3a5d..366e8fa 100755
--- a/scripts/multiconfig.sh
+++ b/scripts/multiconfig.sh
@@ -168,7 +168,7 @@ do_board_felconfig () {
echo "$progname: Cannot felconfig a non-sunxi or non-SPL platform" >&2
exit 1
fi
- sed -i -e 's/\# CONFIG_SPL_FEL is not set/CONFIG_SPL_FEL=y/g' \
+ sed -i -e 's/\# CONFIG_SPL_FEL is not set/CONFIG_SPL_FEL=y\nCONFIG_UART0_PORT_F=n/g' \
.config spl/.config
}