diff options
author | Masahiro Yamada | 2014-12-15 08:26:14 -0600 |
---|---|---|
committer | Tom Rini | 2015-01-05 11:08:52 -0600 |
commit | acc2372db020b9415142e93a1c30f57c1d3aa5c2 (patch) | |
tree | bc2f4191b2ab6da5557fb61d15aca18ac954a54b /examples | |
parent | f017cd7f71fa98be4b3222a7c314ef000296c51a (diff) | |
download | u-boot-acc2372db020b9415142e93a1c30f57c1d3aa5c2.tar.gz u-boot-acc2372db020b9415142e93a1c30f57c1d3aa5c2.tar.xz u-boot-acc2372db020b9415142e93a1c30f57c1d3aa5c2.zip |
mpc8xx: remove lwmon board support
This board is still a non-generic board.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/standalone/test_burst.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/standalone/test_burst.c b/examples/standalone/test_burst.c index 4a16ffb22d..f2fdbf19dc 100644 --- a/examples/standalone/test_burst.c +++ b/examples/standalone/test_burst.c | |||
@@ -31,25 +31,6 @@ | |||
31 | */ | 31 | */ |
32 | #define TEST_FLASH_ADDR 0x40100000 | 32 | #define TEST_FLASH_ADDR 0x40100000 |
33 | 33 | ||
34 | /* Define GPIO ports to signal start of burst transfers and errors */ | ||
35 | #ifdef CONFIG_LWMON | ||
36 | /* Use PD.8 to signal start of burst transfers */ | ||
37 | #define GPIO1_DAT (((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddat) | ||
38 | #define GPIO1_BIT 0x0080 | ||
39 | /* Configure PD.8 as general purpose output */ | ||
40 | #define GPIO1_INIT \ | ||
41 | ((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pdpar &= ~GPIO1_BIT; \ | ||
42 | ((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddir |= GPIO1_BIT; | ||
43 | /* Use PD.9 to signal error */ | ||
44 | #define GPIO2_DAT (((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddat) | ||
45 | #define GPIO2_BIT 0x0040 | ||
46 | /* Configure PD.9 as general purpose output */ | ||
47 | #define GPIO2_INIT \ | ||
48 | ((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pdpar &= ~GPIO2_BIT; \ | ||
49 | ((volatile immap_t *)CONFIG_SYS_IMMR)->im_ioport.iop_pddir |= GPIO2_BIT; | ||
50 | #endif /* CONFIG_LWMON */ | ||
51 | |||
52 | |||
53 | static void test_prepare (void); | 34 | static void test_prepare (void); |
54 | static int test_burst_start (unsigned long size, unsigned long pattern); | 35 | static int test_burst_start (unsigned long size, unsigned long pattern); |
55 | static void test_map_8M (unsigned long paddr, unsigned long vaddr, int cached); | 36 | static void test_map_8M (unsigned long paddr, unsigned long vaddr, int cached); |