diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-08-13 10:16:11 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-13 10:16:11 +0200 |
commit | 07aa7be5708afb3d9afa68f6f853c98e51bc64b3 (patch) | |
tree | 808fe87c382fb0a1b9432c75989da81f7f9efdd1 /arch/blackfin/kernel/cplb-nompu/cplbinit.c | |
parent | Blackfin arch: unify the duplicated portions of __start and split mach-specif... (diff) | |
download | linux-07aa7be5708afb3d9afa68f6f853c98e51bc64b3.tar.xz linux-07aa7be5708afb3d9afa68f6f853c98e51bc64b3.zip |
Blackfin arch: convert L2 defines to be the same as the L1 defines
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/kernel/cplb-nompu/cplbinit.c')
-rw-r--r-- | arch/blackfin/kernel/cplb-nompu/cplbinit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c index 224e7cc30bc5..728f708d3981 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c @@ -164,17 +164,13 @@ static struct cplb_desc cplb_data[] = { .name = "Asynchronous Memory Banks", }, { -#ifdef L2_START .start = L2_START, .end = L2_START + L2_LENGTH, .psize = SIZE_1M, .attr = SWITCH_T | I_CPLB | D_CPLB, .i_conf = L2_MEMORY, .d_conf = L2_MEMORY, - .valid = 1, -#else - .valid = 0, -#endif + .valid = (L2_LENGTH > 0), .name = "L2 Memory", }, { |