ram: starfive: use SZ_8G for 8GB memory size

Replace numeric literal with SZ_8G consistent with other uses of types
from linux/types.h

Signed-off-by: E Shattow <e@freeshell.de>
Acked-by: Hal Feng <hal.feng@starfivetech.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
E Shattow
2025-10-29 23:23:33 -07:00
committed by Leo Yu-Chi Liang
parent bccbe56710
commit e8874f361d

View File

@@ -43,7 +43,7 @@ static int starfive_ddr_setup(struct udevice *dev, struct starfive_ddr_priv *pri
size = DDR_SIZE_4G;
break;
case 0x200000000:
case SZ_8G:
size = DDR_SIZE_8G;
break;