Skip to contentSkip to conversation

powerpc/83xx: fix build failure

PATCH In review Shengzhou Liu 3 participants 7 messages Jan 14, 2016 – Jan 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/83xx: fix build failure

Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h

---
 include/mpc83xx.h | 1 -
 1 file changed, 1 deletion(-)
include/mpc83xx.h +0 -1
index a6d721a..b5a0bbf 100644
@@ -1297,7 +1297,6 @@
  */
 #define SDRAM_INTERVAL_REFINT		0x3FFF0000
 #define SDRAM_INTERVAL_REFINT_SHIFT	16
-#define SDRAM_INTERVAL_BSTOPRE		0x00003FFF
 #define SDRAM_INTERVAL_BSTOPRE_SHIFT	0
 
 /*
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 powerpc/83xx: fix build failure

Hi Shengzhou,

Quoted 2 lines · Shengzhou Liu

Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h

I don't see SDRAM_INTERVAL_BSTOPRE is defined in fsl_ddr_sdram.h?

Quoted 11 lines
---
 include/mpc83xx.h | 1 -
 1 file changed, 1 deletion(-)
include/mpc83xx.h +0 -0
index a6d721a..b5a0bbf 100644

include/mpc83xx.h

Quoted 8 lines
include/mpc83xx.h +0 -2
@@ -1297,7 +1297,6 @@
  */
 #define SDRAM_INTERVAL_REFINT          0x3FFF0000
 #define SDRAM_INTERVAL_REFINT_SHIFT    16
-#define SDRAM_INTERVAL_BSTOPRE         0x00003FFF
 #define SDRAM_INTERVAL_BSTOPRE_SHIFT   0
 
 /*
--

Regards,
Bin

#2 lore raw

PATCH 1/1 powerpc/83xx: fix build failure

Quoted 8 lines · Bin Meng

Hi Shengzhou,

Quoted 2 lines · Shengzhou Liu

Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h

I don't see SDRAM_INTERVAL_BSTOPRE is defined in fsl_ddr_sdram.h?

Indeed, I assume this is supposed to be against some internal or work in progress tree? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160114/0a9e44c3/attachment.sig>
#3 lore raw
In reply to Shengzhou Liu
Quoted 4 lines · Shengzhou Liu

Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160120/03c14346/attachment.sig>
#4 lore raw

Hi Tom,

Quoted 10 lines · Tom Rini
Quoted 4 lines · Shengzhou Liu

Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h

Applied to u-boot/master, thanks!

--

IMHO, if it is a WIP, this patch should be squashed into the patch which broke the build as it has not been merged upstream yet. Am I missing anything?

Regards,
Bin

#5 lore raw
Quoted 8 lines · Bin Meng

Hi Tom,

Quoted 5 lines · Tom Rini
Quoted 3 lines · Shengzhou Liu

Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Applied to u-boot/master, thanks!

IMHO, if it is a WIP, this patch should be squashed into the patch which broke the build as it has not been merged upstream yet. Am I missing anything?

Mess-up on my part, but... SDRAM_INTERVAL_BSTOPRE isn't used _anywhere_ only SDRAM_INTERVAL_BSTOPRE_SHIFT so nothing broke.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160120/d2090d5b/attachment.sig>
#6 lore raw

Hi Tom,

Quoted 11 lines · Tom Rini
Quoted 10 lines · Bin Meng

Hi Tom,

Quoted 7 lines · Tom Rini
Quoted 4 lines · Shengzhou Liu

Remove duplicated SDRAM_INTERVAL_BSTOPRE from mpc83xx.h, which has been defined in fsl_ddr_sdram.h

Quoted 9 lines
Quoted 5 lines
Quoted 1 line

Applied to u-boot/master, thanks!

IMHO, if it is a WIP, this patch should be squashed into the patch which broke the build as it has not been merged upstream yet. Am I missing anything?

Mess-up on my part, but... SDRAM_INTERVAL_BSTOPRE isn't used _anywhere_ only SDRAM_INTERVAL_BSTOPRE_SHIFT so nothing broke.

Yep, I just grep this and found nothing, which is different from what I grepped last time. Something must have been merged upstream recently. But if this is the case, then the commit title should really
say: powerpc/83xx: Remove useless SDRAM_INTERVAL_BSTOPRE instead of saying 'fix build failure'.

Regards,
Bin