Removed compiler issue (invalid lvalue) - CPU PXA270
PATCH 1/1 Removed compiler issue (invalid lvalue) - CPU PXA270
Quoted 7 lines · stefano babic <sbabic <at> denx.de> writes:
Code is broken for PXA270 due to "invalid lvalue in assignment".
This patch fix it in
pxa-regs.hSigned-off-by Stefano Babic <sbabic <at> denx.de>
This Patch makes wrong calculation!
The real bug can be fixed by using the old style with pointer / address (from
the linux kernel)
#define GPLR(x) (*((((x) & 0x7f) < 96) ? &_GPLR(x) : &GPLR3))
or by fixing the calculation
#define GPLR(x) __REG2(0x40E00000, (((x) & 0x7f) < 96) ?
((x) & 0x60) >> 3 : 0x100)Which is the preferred way?
Stefan
PATCH 1/1 Removed compiler issue (invalid lvalue) - CPU PXA270
Quoted 11 lines · In message <[email protected]> you wrote:
Quoted 7 lines · stefano babic <sbabic <at> denx.de> writes:
Code is broken for PXA270 due to "invalid lvalue in assignment".
This patch fix it in
pxa-regs.hSigned-off-by Stefano Babic <sbabic <at> denx.de>This Patch makes wrong calculation!
Which specific patch are you referring to? I think what you refer to has been obsoleted by Stefnao's postings on Nov 11:
11/20 stefano babic [U-Boot-Users] [PATCH] Fix gcc issues in pxa-regs.h
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de No problem is insoluble. -- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4
PATCH 1/1 Removed compiler issue (invalid lvalue) - CPU PXA270
Sorry, I don't know this patch and I only saw, that it was not fix in version 1.3.1 or the git tree.
Stefan
Quoted 25 lines · Wolfgang Denk
Quoted 12 lines · In message <[email protected]> you wrote:
Quoted 7 lines · stefano babic <sbabic <at> denx.de> writes:
Code is broken for PXA270 due to "invalid lvalue in assignment".
This patch fix it in
pxa-regs.hSigned-off-by Stefano Babic <sbabic <at> denx.de>This Patch makes wrong calculation!
Which specific patch are you referring to? I think what you refer to has been obsoleted by Stefnao's postings on Nov 11:
11/20 stefano babic [U-Boot-Users] [PATCH] Fix gcc issues in
pxa-regs.hBest regards,
Wolfgang Denk
Signature · 15 lines
Dipl.-Ing. Stefan Herbrechtsmeier Heinz Nixdorf Institute University of Paderborn System and Circuit Technology F?rstenallee 11 D-33102 Paderborn (Germany) office : F0.415 phone : + 49 5251 - 60 6342 fax : + 49 5251 - 60 6351 mailto : hbmeier at hni.upb.de www : http://wwwhni.upb.de/sct/mitarbeiter/hbmeier