mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
committed by
Leo Yu-Chi Liang
parent
bccbe56710
commit
e8874f361d
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user