rk: uboot_mem_reserve: lost a '=' in 'if' statement
authorCMY <cmy@rock-chips.com>
Mon, 2 Mar 2015 07:42:55 +0000 (15:42 +0800)
committerCMY <cmy@rock-chips.com>
Wed, 4 Mar 2015 02:39:18 +0000 (10:39 +0800)
(cherry picked from commit b9721d0365d9e88d0c16c3f0c2aff4b2c09c9dec)

Signed-off-by: CMY <cmy@rock-chips.com>
arch/arm/mach-rockchip/common.c

index fab771454b22265aa9ae87aa970c14cc5866e41e..061e2b7240b77fae500d29316a4264ab6ba9574a 100755 (executable)
@@ -302,7 +302,7 @@ phys_addr_t uboot_logo_offset=0;
 
 void __init rockchip_uboot_mem_reserve(void)
 {
-       if (uboot_logo_size=0)
+       if (uboot_logo_size==0)
                return;
 
        if (!memblock_is_region_reserved(uboot_logo_base, uboot_logo_size)