mips: octeon: bootoctlinux: Use gd->ram_size instead of ram_get_info()
authorStefan Roese <sr@denx.de>
Wed, 28 Oct 2020 14:10:02 +0000 (15:10 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 30 Nov 2020 17:31:56 +0000 (18:31 +0100)
commitb7eac19a3d91fae05250688ed4047c1a5d68dd42
tree198a974195abbb1f382e7edf05e35287708fbf6b
parent8bab2c893c33b0245c51a71e91effe3547a73524
mips: octeon: bootoctlinux: Use gd->ram_size instead of ram_get_info()

Using ram_get_info() is complicated and does not work after relocation.
Now that gd->ram_size holds the full RAM size, let's use it instead and
remove the ram_get_size logic completely.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/mach-octeon/bootoctlinux.c