* [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size
@ 2020-08-04 10:02 tien.fong.chee at intel.com
2020-08-05 9:30 ` Tan, Ley Foon
2020-08-06 3:50 ` Tan, Ley Foon
0 siblings, 2 replies; 3+ messages in thread
From: tien.fong.chee at intel.com @ 2020-08-04 10:02 UTC (permalink / raw)
To: u-boot
From: Tien Fong Chee <tien.fong.chee@intel.com>
Replace with phys_size_t for better scalable. phys_size_t is defined in
arch/arm/include/asm/types.h .
Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
---
drivers/ddr/altera/sdram_s10.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ddr/altera/sdram_s10.c b/drivers/ddr/altera/sdram_s10.c
index 2945f1e1df..5d24a5800a 100644
--- a/drivers/ddr/altera/sdram_s10.c
+++ b/drivers/ddr/altera/sdram_s10.c
@@ -276,7 +276,7 @@ int sdram_mmr_init_full(struct udevice *dev)
DDR_SCH_DEVTODEV);
/* assigning the SDRAM size */
- unsigned long long size = sdram_calculate_size(plat);
+ phys_size_t size = sdram_calculate_size(plat);
/* If the size is invalid, use default Config size */
if (size <= 0)
hw_size = PHYS_SDRAM_1_SIZE;
--
2.13.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size
2020-08-04 10:02 [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size tien.fong.chee at intel.com
@ 2020-08-05 9:30 ` Tan, Ley Foon
2020-08-06 3:50 ` Tan, Ley Foon
1 sibling, 0 replies; 3+ messages in thread
From: Tan, Ley Foon @ 2020-08-05 9:30 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Chee, Tien Fong <tien.fong.chee@intel.com>
> Sent: Tuesday, August 4, 2020 6:02 PM
> To: u-boot at lists.denx.de
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>; Marek Vasut
> <marex@denx.de>; See, Chin Liang <chin.liang.see@intel.com>; Tan, Ley
> Foon <ley.foon.tan@intel.com>; Lim, Elly Siew Chin
> <elly.siew.chin.lim@intel.com>; Ang, Chee Hong
> <chee.hong.ang@intel.com>; Chee, Tien Fong <tien.fong.chee@intel.com>
> Subject: [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size
>
> From: Tien Fong Chee <tien.fong.chee@intel.com>
>
> Replace with phys_size_t for better scalable. phys_size_t is defined in
> arch/arm/include/asm/types.h .
>
> Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
> ---
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size
2020-08-04 10:02 [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size tien.fong.chee at intel.com
2020-08-05 9:30 ` Tan, Ley Foon
@ 2020-08-06 3:50 ` Tan, Ley Foon
1 sibling, 0 replies; 3+ messages in thread
From: Tan, Ley Foon @ 2020-08-06 3:50 UTC (permalink / raw)
To: u-boot
> -----Original Message-----
> From: Chee, Tien Fong <tien.fong.chee@intel.com>
> Sent: Tuesday, August 4, 2020 6:02 PM
> To: u-boot at lists.denx.de
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>; Marek Vasut
> <marex@denx.de>; See, Chin Liang <chin.liang.see@intel.com>; Tan, Ley
> Foon <ley.foon.tan@intel.com>; Lim, Elly Siew Chin
> <elly.siew.chin.lim@intel.com>; Ang, Chee Hong
> <chee.hong.ang@intel.com>; Chee, Tien Fong <tien.fong.chee@intel.com>
> Subject: [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size
>
> From: Tien Fong Chee <tien.fong.chee@intel.com>
>
> Replace with phys_size_t for better scalable. phys_size_t is defined in
> arch/arm/include/asm/types.h .
>
> Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
> ---
> drivers/ddr/altera/sdram_s10.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
Regards
Ley Foon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-06 3:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-04 10:02 [PATCH] ddr: socfpga: stratix10: Use phys_size_t for memory size tien.fong.chee at intel.com
2020-08-05 9:30 ` Tan, Ley Foon
2020-08-06 3:50 ` Tan, Ley Foon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox