* [PATCH] fix compiler warnings
@ 2013-02-15 18:48 Sascha Hauer
2013-02-15 18:48 ` [PATCH 1/3] ARM OMAP phycard-a-l1: Add missing include Sascha Hauer
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2013-02-15 18:48 UTC (permalink / raw)
To: barebox
Fixes for some compiler warnings on master.
Sascha
----------------------------------------------------------------
Sascha Hauer (3):
ARM OMAP phycard-a-l1: Add missing include
ARM at91sam9n12ek_defconfig: Fix reassigning of BAREBOX_MAX_IMAGE_SIZE
ARM i.MX28: Add missing return value in non-void function
arch/arm/boards/phycard-a-l1/lowlevel.c | 1 +
arch/arm/configs/at91sam9n12ek_defconfig | 1 -
arch/arm/mach-mxs/soc-imx28.c | 2 ++
3 files changed, 3 insertions(+), 1 deletion(-)
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/3] ARM OMAP phycard-a-l1: Add missing include
2013-02-15 18:48 [PATCH] fix compiler warnings Sascha Hauer
@ 2013-02-15 18:48 ` Sascha Hauer
2013-02-15 18:48 ` [PATCH 2/3] ARM at91sam9n12ek_defconfig: Fix reassigning of BAREBOX_MAX_IMAGE_SIZE Sascha Hauer
2013-02-15 18:48 ` [PATCH 3/3] ARM i.MX28: Add missing return value in non-void function Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2013-02-15 18:48 UTC (permalink / raw)
To: barebox
Fixes:
arch/arm/boards/phycard-a-l1/lowlevel.c: In function 'pcaal1_sdrc_init':
arch/arm/boards/phycard-a-l1/lowlevel.c:105:2: warning: implicit declaration of function 'get_ram_size' [-Wimplicit-function-declaration]
arch/arm/boards/phycard-a-l1/lowlevel.c:113:3: warning: implicit declaration of function 'hang' [-Wimplicit-function-declaration]
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/phycard-a-l1/lowlevel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boards/phycard-a-l1/lowlevel.c b/arch/arm/boards/phycard-a-l1/lowlevel.c
index d00efcc..30379d8 100644
--- a/arch/arm/boards/phycard-a-l1/lowlevel.c
+++ b/arch/arm/boards/phycard-a-l1/lowlevel.c
@@ -1,3 +1,4 @@
+#include <common.h>
#include <io.h>
#include <init.h>
#include <sizes.h>
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/3] ARM at91sam9n12ek_defconfig: Fix reassigning of BAREBOX_MAX_IMAGE_SIZE
2013-02-15 18:48 [PATCH] fix compiler warnings Sascha Hauer
2013-02-15 18:48 ` [PATCH 1/3] ARM OMAP phycard-a-l1: Add missing include Sascha Hauer
@ 2013-02-15 18:48 ` Sascha Hauer
2013-02-15 18:48 ` [PATCH 3/3] ARM i.MX28: Add missing return value in non-void function Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2013-02-15 18:48 UTC (permalink / raw)
To: barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/configs/at91sam9n12ek_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/at91sam9n12ek_defconfig b/arch/arm/configs/at91sam9n12ek_defconfig
index 3e3bd51..55cf5bc 100644
--- a/arch/arm/configs/at91sam9n12ek_defconfig
+++ b/arch/arm/configs/at91sam9n12ek_defconfig
@@ -1,5 +1,4 @@
CONFIG_ARCH_AT91SAM9N12=y
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x40000
CONFIG_AEABI=y
# CONFIG_CMD_ARM_CPUINFO is not set
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] ARM i.MX28: Add missing return value in non-void function
2013-02-15 18:48 [PATCH] fix compiler warnings Sascha Hauer
2013-02-15 18:48 ` [PATCH 1/3] ARM OMAP phycard-a-l1: Add missing include Sascha Hauer
2013-02-15 18:48 ` [PATCH 2/3] ARM at91sam9n12ek_defconfig: Fix reassigning of BAREBOX_MAX_IMAGE_SIZE Sascha Hauer
@ 2013-02-15 18:48 ` Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2013-02-15 18:48 UTC (permalink / raw)
To: barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-mxs/soc-imx28.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-mxs/soc-imx28.c b/arch/arm/mach-mxs/soc-imx28.c
index a5f3d68..8972a3d 100644
--- a/arch/arm/mach-mxs/soc-imx28.c
+++ b/arch/arm/mach-mxs/soc-imx28.c
@@ -45,5 +45,7 @@ static int imx28_init(void)
* of resetting it. Use a software reset only.
*/
writel(HW_CLKCTRL_WDOG_POR_DISABLE, IMX_CCM_BASE + HW_CLKCTRL_RESET);
+
+ return 0;
}
postcore_initcall(imx28_init);
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-15 18:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-15 18:48 [PATCH] fix compiler warnings Sascha Hauer
2013-02-15 18:48 ` [PATCH 1/3] ARM OMAP phycard-a-l1: Add missing include Sascha Hauer
2013-02-15 18:48 ` [PATCH 2/3] ARM at91sam9n12ek_defconfig: Fix reassigning of BAREBOX_MAX_IMAGE_SIZE Sascha Hauer
2013-02-15 18:48 ` [PATCH 3/3] ARM i.MX28: Add missing return value in non-void function Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox