summaryrefslogtreecommitdiff
path: root/include/configs/davinci_dvevm.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_dvevm.h
parent14abfe361b3ed23b02f564e2f5d663e158cd5799 (diff)
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_dvevm.h')
-rw-r--r--include/configs/davinci_dvevm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/davinci_dvevm.h b/include/configs/davinci_dvevm.h
index 96b6afc351..af669bcb8e 100644
--- a/include/configs/davinci_dvevm.h
+++ b/include/configs/davinci_dvevm.h
@@ -19,7 +19,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#include <asm/sizes.h>
/*
* Define this to make U-Boot skip low level initialization when loaded
@@ -120,7 +119,7 @@
#define CONFIG_ENV_IS_IN_NAND /* U-Boot env in NAND Flash */
#ifdef CONFIG_SYS_NAND_SMALLPAGE
#define CONFIG_ENV_SECT_SIZE 512 /* Env sector Size */
-#define CONFIG_ENV_SIZE SZ_16K
+#define CONFIG_ENV_SIZE (16 << 10) /* 16 KiB */
#define CONFIG_MTD_PARTITIONS
#define CONFIG_CMD_MTDPARTS
#define MTDIDS_DEFAULT \
@@ -129,7 +128,7 @@
"mtdparts=davinci_nand.0:384k(bootloader)ro,4m(kernel),-(filesystem)"
#else
#define CONFIG_ENV_SECT_SIZE 2048 /* Env sector Size */
-#define CONFIG_ENV_SIZE SZ_128K
+#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */
#endif
#define CONFIG_SKIP_LOWLEVEL_INIT /* U-Boot is loaded by a bootloader */
#define CONFIG_SKIP_RELOCATE_UBOOT /* to a proper address, init done */