Re: [U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-22 Thread Masahiro YAMADA
2015-01-07 19:41 GMT+09:00 Masahiro Yamada : > The DDR PHY training function, ddrphy_prepare_training() would not > work if compiled with GCC 4.9. > > The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-regs.h) > is specified with __packed because it represents a hardware register > mappin

Re: [U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-08 Thread Masahiro Yamada
On Wed, 7 Jan 2015 14:00:05 -0500 Tom Rini wrote: > On Wed, Jan 07, 2015 at 07:41:38PM +0900, Masahiro Yamada wrote: > > The DDR PHY training function, ddrphy_prepare_training() would not > > work if compiled with GCC 4.9. > > > > The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-reg

Re: [U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-07 Thread Tom Rini
On Wed, Jan 07, 2015 at 07:41:38PM +0900, Masahiro Yamada wrote: > The DDR PHY training function, ddrphy_prepare_training() would not > work if compiled with GCC 4.9. > > The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-regs.h) > is specified with __packed because it represents a hardw

[U-Boot] [PATCH] ARM: UniPhier: remove __packed that causes a problem on GCC 4.9

2015-01-07 Thread Masahiro Yamada
The DDR PHY training function, ddrphy_prepare_training() would not work if compiled with GCC 4.9. The struct ddrphy (arch/arm/include/asm/arch-uniphier/ddrphy-regs.h) is specified with __packed because it represents a hardware register mapping, but it turned out to cause a problem on GCC 4.9. If