summaryrefslogtreecommitdiff
path: root/board/mpl
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-11-20 14:34:57 -0600
committerJon Loeliger <jdl@freescale.com>2007-11-20 14:34:57 -0600
commit890e9413c0af74a3d74f37d9ab6d19784990fa0c (patch)
tree0e802d5d143e09751f85c76bf02f94aca023d077 /board/mpl
parent1d8a49eca1c7bdc8db1c47a92f9014a29ead03ae (diff)
parent9a337ddc154a10a26f117fd147b009abcdeba75a (diff)
downloadu-boot-imx-890e9413c0af74a3d74f37d9ab6d19784990fa0c.zip
u-boot-imx-890e9413c0af74a3d74f37d9ab6d19784990fa0c.tar.gz
u-boot-imx-890e9413c0af74a3d74f37d9ab6d19784990fa0c.tar.bz2
Merge commit 'remotes/wd/master'
Diffstat (limited to 'board/mpl')
-rw-r--r--board/mpl/vcma9/flash.c2
-rw-r--r--board/mpl/vcma9/vcma9.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/mpl/vcma9/flash.c b/board/mpl/vcma9/flash.c
index ccfe176..d15a191 100644
--- a/board/mpl/vcma9/flash.c
+++ b/board/mpl/vcma9/flash.c
@@ -290,7 +290,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last)
* Copy memory to flash
*/
-volatile static int write_hword (flash_info_t * info, ulong dest, ushort data)
+static int write_hword (flash_info_t * info, ulong dest, ushort data)
{
vu_short *addr = (vu_short *) dest;
ushort result;
diff --git a/board/mpl/vcma9/vcma9.h b/board/mpl/vcma9/vcma9.h
index 7a32343..220b705 100644
--- a/board/mpl/vcma9/vcma9.h
+++ b/board/mpl/vcma9/vcma9.h
@@ -128,7 +128,7 @@ typedef struct {
} /*__attribute__((__packed__))*/ VCMA9_PLD;
#define VCMA9_PLD_BASE 0x2C000100
-static inline VCMA9_PLD * const VCMA9_GetBase_PLD(void)
+static inline VCMA9_PLD * VCMA9_GetBase_PLD(void)
{
return (VCMA9_PLD * const)VCMA9_PLD_BASE;
}