* [U-Boot] [PATCH] rockchip: make configure_emmc() empty for Firefly-RK3288
@ 2016-03-05 13:32 FUKAUMI Naoki
2016-03-07 2:38 ` Simon Glass
2016-03-08 18:46 ` [U-Boot] " Vagrant Cascadian
0 siblings, 2 replies; 4+ messages in thread
From: FUKAUMI Naoki @ 2016-03-05 13:32 UTC (permalink / raw)
To: u-boot
on v2016.03-rc3, size of SPL image compiled by gcc 5.3.0 is too large for
Firefly-RK3288. (it's fine for Rock2)
$ gcc --version
gcc (Ubuntu/Linaro 5.3.0-3ubuntu1~14.04) 5.3.0 20151204
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ ./tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin u-boot-spl-dtb.img
Warning: SPL image is too large (size 0x80d0) and will not boot
to reduce size of SPL image, this patch makes configure_emmc() empty for
Firefly-RK3288 as same as Rock2.
Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
---
arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c
index 6a54368..e133cca 100644
--- a/arch/arm/mach-rockchip/rk3288-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3288-board-spl.c
@@ -114,7 +114,7 @@ static void configure_l2ctlr(void)
#ifdef CONFIG_SPL_MMC_SUPPORT
static int configure_emmc(struct udevice *pinctrl)
{
-#ifndef CONFIG_TARGET_ROCK2
+#if !defined(CONFIG_TARGET_ROCK2) && !defined(CONFIG_TARGET_FIREFLY_RK3288)
struct gpio_desc desc;
int ret;
--
2.7.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] rockchip: make configure_emmc() empty for Firefly-RK3288
2016-03-05 13:32 [U-Boot] [PATCH] rockchip: make configure_emmc() empty for Firefly-RK3288 FUKAUMI Naoki
@ 2016-03-07 2:38 ` Simon Glass
2016-03-08 18:46 ` [U-Boot] " Vagrant Cascadian
1 sibling, 0 replies; 4+ messages in thread
From: Simon Glass @ 2016-03-07 2:38 UTC (permalink / raw)
To: u-boot
On 5 March 2016 at 06:32, FUKAUMI Naoki <naobsd@gmail.com> wrote:
> on v2016.03-rc3, size of SPL image compiled by gcc 5.3.0 is too large for
> Firefly-RK3288. (it's fine for Rock2)
>
> $ gcc --version
> gcc (Ubuntu/Linaro 5.3.0-3ubuntu1~14.04) 5.3.0 20151204
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> $ ./tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin u-boot-spl-dtb.img
> Warning: SPL image is too large (size 0x80d0) and will not boot
>
> to reduce size of SPL image, this patch makes configure_emmc() empty for
> Firefly-RK3288 as same as Rock2.
>
> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
> ---
> arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] rockchip: make configure_emmc() empty for Firefly-RK3288
2016-03-05 13:32 [U-Boot] [PATCH] rockchip: make configure_emmc() empty for Firefly-RK3288 FUKAUMI Naoki
2016-03-07 2:38 ` Simon Glass
@ 2016-03-08 18:46 ` Vagrant Cascadian
2016-03-10 15:40 ` Simon Glass
1 sibling, 1 reply; 4+ messages in thread
From: Vagrant Cascadian @ 2016-03-08 18:46 UTC (permalink / raw)
To: u-boot
On 2016-03-05, FUKAUMI Naoki wrote:
> on v2016.03-rc3, size of SPL image compiled by gcc 5.3.0 is too large for
> Firefly-RK3288. (it's fine for Rock2)
...
> to reduce size of SPL image, this patch makes configure_emmc() empty for
> Firefly-RK3288 as same as Rock2.
>
> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
> Acked-by: Simon Glass <sjg@chromium.org>
Fixed booting on my Firefly-RK3288.
Tested-By: Vagrant Cascadian <vagrant@debian.org>
> ---
> arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c
> index 6a54368..e133cca 100644
> --- a/arch/arm/mach-rockchip/rk3288-board-spl.c
> +++ b/arch/arm/mach-rockchip/rk3288-board-spl.c
> @@ -114,7 +114,7 @@ static void configure_l2ctlr(void)
> #ifdef CONFIG_SPL_MMC_SUPPORT
> static int configure_emmc(struct udevice *pinctrl)
> {
> -#ifndef CONFIG_TARGET_ROCK2
> +#if !defined(CONFIG_TARGET_ROCK2) && !defined(CONFIG_TARGET_FIREFLY_RK3288)
> struct gpio_desc desc;
> int ret;
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160308/8b6bc896/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] rockchip: make configure_emmc() empty for Firefly-RK3288
2016-03-08 18:46 ` [U-Boot] " Vagrant Cascadian
@ 2016-03-10 15:40 ` Simon Glass
0 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2016-03-10 15:40 UTC (permalink / raw)
To: u-boot
On 8 March 2016 at 11:46, Vagrant Cascadian <vagrant@debian.org> wrote:
> On 2016-03-05, FUKAUMI Naoki wrote:
>> on v2016.03-rc3, size of SPL image compiled by gcc 5.3.0 is too large for
>> Firefly-RK3288. (it's fine for Rock2)
> ...
>> to reduce size of SPL image, this patch makes configure_emmc() empty for
>> Firefly-RK3288 as same as Rock2.
>>
>> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
>> Acked-by: Simon Glass <sjg@chromium.org>
>
> Fixed booting on my Firefly-RK3288.
>
> Tested-By: Vagrant Cascadian <vagrant@debian.org>
Applied to u-boot-rockchip, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-10 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-05 13:32 [U-Boot] [PATCH] rockchip: make configure_emmc() empty for Firefly-RK3288 FUKAUMI Naoki
2016-03-07 2:38 ` Simon Glass
2016-03-08 18:46 ` [U-Boot] " Vagrant Cascadian
2016-03-10 15:40 ` Simon Glass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox