From e2032a0e4e55ea0958aae32f783f3a0726e34415 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 26 Oct 2024 08:09:00 -0600 Subject: global: Remove bi_sramstart/bi_sramsize These fields are currently set on exactly two platforms today, and used by only one of them. Update pic32mzdask to use CFG_SYS_SRAM* in the one location it needs it and otherwise drop this field from the bd_info struct. Signed-off-by: Tom Rini --- api/api_platform-powerpc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'api/api_platform-powerpc.c') diff --git a/api/api_platform-powerpc.c b/api/api_platform-powerpc.c index 3a04a9f691c..2c1ab043af6 100644 --- a/api/api_platform-powerpc.c +++ b/api/api_platform-powerpc.c @@ -43,7 +43,6 @@ int platform_sys_info(struct sys_info *si) platform_set_mr(si, gd->ram_base, gd->ram_size, MR_ATTR_DRAM); platform_set_mr(si, gd->bd->bi_flashstart, gd->bd->bi_flashsize, MR_ATTR_FLASH); - platform_set_mr(si, gd->bd->bi_sramstart, gd->bd->bi_sramsize, MR_ATTR_SRAM); return 1; } -- cgit v1.2.3