diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2012-06-03 23:52:07 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2012-06-03 23:52:07 +0200 |
commit | 5f8b970f28d6ca6c2173b3deda0c0dafe5d9d466 (patch) | |
tree | c183388da266e04418e5cd8ceac590a5025e1ff6 /recipes-bsp/u-boot/files/u-boot_ap20warning.patch | |
parent | 075e33ca803378fa42187ecf5fd44a57e061a84a (diff) |
u-boot base from meta instead of a copy from meta-ti
fix u-boot to no longer fail at runtime, (write beyond array)
Diffstat (limited to 'recipes-bsp/u-boot/files/u-boot_ap20warning.patch')
-rw-r--r-- | recipes-bsp/u-boot/files/u-boot_ap20warning.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/u-boot_ap20warning.patch b/recipes-bsp/u-boot/files/u-boot_ap20warning.patch new file mode 100644 index 0000000..d99fc12 --- /dev/null +++ b/recipes-bsp/u-boot/files/u-boot_ap20warning.patch @@ -0,0 +1,11 @@ +--- git/arch/arm/cpu/armv7/tegra3/ap20.c 2012-01-28 12:16:25.000000000 +0100 ++++ git/arch/arm/cpu/armv7/tegra3/ap20.c~ 2012-01-28 12:42:44.640356495 +0100 +@@ -72,6 +72,8 @@ + return id == (PG_UP_TAG_0_PID_CPU & 0xff); + } + ++//u-boot treats all errors as warnings, &clkrst->crc_pll[CLOCK_ID_XCPU] uses a subscript out of range ++#pragma GCC diagnostic warning "-Warray-bounds" + static int pllx_set_rate(u32 divn, u32 divm, u32 divp, u32 cpcon) + { + struct clk_rst_ctlr *clkrst = (struct clk_rst_ctlr *)NV_PA_CLK_RST_BASE; |