mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
omap3: emif4: More clearly hard-code cs0 size
We have a single platform that is both in the OMAP3 family of parts, but has an EMIF4 memory controller. Currently we hard-code the size of chip select 0. Make this more clear by putting the value in the function rather than a CONFIG option. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
95cc3efcc1
commit
edcbd6e388
2 changed files with 1 additions and 4 deletions
|
@ -41,7 +41,7 @@ static u32 get_sdr_cs_size(u32 cs)
|
|||
|
||||
/* TODO: Calculate the size based on EMIF4 configuration */
|
||||
if (cs == CS0)
|
||||
size = CONFIG_SYS_CS0_SIZE;
|
||||
size = 256 * 1024 * 1024;
|
||||
|
||||
return size;
|
||||
}
|
||||
|
|
|
@ -85,9 +85,6 @@
|
|||
|
||||
/* memtest works on */
|
||||
|
||||
/* Physical Memory Map */
|
||||
#define CONFIG_SYS_CS0_SIZE (256 * 1024 * 1024)
|
||||
|
||||
/* FLASH and environment organization */
|
||||
|
||||
/* **** PISMO SUPPORT *** */
|
||||
|
|
Loading…
Add table
Reference in a new issue