mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
86xx: Make dram_size a phys_size_t
It's currently a long and should be phys_size_t. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
This commit is contained in:
parent
104992fc54
commit
4c77de3f14
@ -37,7 +37,7 @@
|
|||||||
#include "../common/pixis.h"
|
#include "../common/pixis.h"
|
||||||
|
|
||||||
void sdram_init(void);
|
void sdram_init(void);
|
||||||
long int fixed_sdram(void);
|
phys_size_t fixed_sdram(void);
|
||||||
void mpc8610hpcd_diu_init(void);
|
void mpc8610hpcd_diu_init(void);
|
||||||
|
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ int checkboard(void)
|
|||||||
phys_size_t
|
phys_size_t
|
||||||
initdram(int board_type)
|
initdram(int board_type)
|
||||||
{
|
{
|
||||||
long dram_size = 0;
|
phys_size_t dram_size = 0;
|
||||||
|
|
||||||
#if defined(CONFIG_SPD_EEPROM)
|
#if defined(CONFIG_SPD_EEPROM)
|
||||||
dram_size = fsl_ddr_sdram();
|
dram_size = fsl_ddr_sdram();
|
||||||
@ -140,7 +140,7 @@ initdram(int board_type)
|
|||||||
* Fixed sdram init -- doesn't use serial presence detect.
|
* Fixed sdram init -- doesn't use serial presence detect.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
long int fixed_sdram(void)
|
phys_size_t fixed_sdram(void)
|
||||||
{
|
{
|
||||||
#if !defined(CONFIG_SYS_RAMBOOT)
|
#if !defined(CONFIG_SYS_RAMBOOT)
|
||||||
volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR;
|
volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include "../common/pixis.h"
|
#include "../common/pixis.h"
|
||||||
|
|
||||||
long int fixed_sdram(void);
|
phys_size_t fixed_sdram(void);
|
||||||
|
|
||||||
int board_early_init_f(void)
|
int board_early_init_f(void)
|
||||||
{
|
{
|
||||||
@ -53,7 +53,7 @@ int checkboard(void)
|
|||||||
phys_size_t
|
phys_size_t
|
||||||
initdram(int board_type)
|
initdram(int board_type)
|
||||||
{
|
{
|
||||||
long dram_size = 0;
|
phys_size_t dram_size = 0;
|
||||||
|
|
||||||
#if defined(CONFIG_SPD_EEPROM)
|
#if defined(CONFIG_SPD_EEPROM)
|
||||||
dram_size = fsl_ddr_sdram();
|
dram_size = fsl_ddr_sdram();
|
||||||
@ -75,7 +75,7 @@ initdram(int board_type)
|
|||||||
/*
|
/*
|
||||||
* Fixed sdram init -- doesn't use serial presence detect.
|
* Fixed sdram init -- doesn't use serial presence detect.
|
||||||
*/
|
*/
|
||||||
long int
|
phys_size_t
|
||||||
fixed_sdram(void)
|
fixed_sdram(void)
|
||||||
{
|
{
|
||||||
#if !defined(CONFIG_SYS_RAMBOOT)
|
#if !defined(CONFIG_SYS_RAMBOOT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user