summaryrefslogtreecommitdiff
path: root/include/configs/davinci_dm365evm.h
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-09-08 17:09:52 -0400
committerTom Rix <Tom.Rix@windriver.com>2009-10-13 06:17:33 -0500
commita16df2c11188297eca43cf6080c70fb69b960232 (patch)
tree459e2f91cfa7c5033c31d99d5e14a459d8c1f4f5 /include/configs/davinci_dm365evm.h
parent14abfe361b3ed23b02f564e2f5d663e158cd5799 (diff)
downloadu-boot-imx-a16df2c11188297eca43cf6080c70fb69b960232.zip
u-boot-imx-a16df2c11188297eca43cf6080c70fb69b960232.tar.gz
u-boot-imx-a16df2c11188297eca43cf6080c70fb69b960232.tar.bz2
TI DaVinci: Remove references to SZ_xx
This patch removes the asm/sizes.h header file from being included in the DaVinci SOC configs. References to SZ_xx have been replaced by appropriate bit shifted values. Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com> Acked-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/davinci_dm365evm.h')
-rw-r--r--include/configs/davinci_dm365evm.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/configs/davinci_dm365evm.h b/include/configs/davinci_dm365evm.h
index 47cb554..72eccb9 100644
--- a/include/configs/davinci_dm365evm.h
+++ b/include/configs/davinci_dm365evm.h
@@ -18,7 +18,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#include <asm/sizes.h>
/* Spectrum Digital TMS320DM365 EVM board */
#define DAVINCI_DM365EVM
@@ -38,7 +37,7 @@
/* Memory Info */
#define CONFIG_NR_DRAM_BANKS 1
#define PHYS_SDRAM_1 0x80000000
-#define PHYS_SDRAM_1_SIZE SZ_128M
+#define PHYS_SDRAM_1_SIZE (128 << 20) /* 128 MiB */
/* Serial Driver info: UART0 for console */
#define CONFIG_SYS_NS16550
@@ -125,7 +124,7 @@
#define CONFIG_SYS_LONGHELP
#ifdef CONFIG_NAND_DAVINCI
-#define CONFIG_ENV_SIZE SZ_256K
+#define CONFIG_ENV_SIZE (256 << 10) /* 256 KiB */
#define CONFIG_ENV_IS_IN_NAND
#define CONFIG_ENV_OFFSET 0x3C0000
#undef CONFIG_ENV_IS_IN_FLASH
@@ -143,8 +142,8 @@
#define CONFIG_TIMESTAMP
/* U-Boot memory configuration */
-#define CONFIG_STACKSIZE SZ_256K /* regular stack */
-#define CONFIG_SYS_MALLOC_LEN SZ_1M /* malloc() arena */
+#define CONFIG_STACKSIZE (256 << 10) /* 256 KiB */
+#define CONFIG_SYS_MALLOC_LEN (1 << 20) /* 1 MiB */
#define CONFIG_SYS_GBL_DATA_SIZE 128 /* for initial data */
#define CONFIG_SYS_MEMTEST_START 0x87000000 /* physical address */
#define CONFIG_SYS_MEMTEST_END 0x88000000 /* test 16MB RAM */