Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361182
b: refs/heads/master
c: 217bef3
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Petazzoni authored and Jason Cooper committed Mar 8, 2013
1 parent b9abea3 commit f7b74a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e366154f70c54dee3665d1c0f780007e514412f3
refs/heads/master: 217bef3d37a9180bebd1953dffb6f9a3c77c557f
7 changes: 5 additions & 2 deletions trunk/arch/arm/plat-orion/addr-map.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,12 @@ void __init orion_setup_cpu_mbus_target(const struct orion_addr_map_cfg *cfg,
u32 size = readl(ddr_window_cpu_base + DDR_SIZE_CS_OFF(i));

/*
* Chip select enabled?
* We only take care of entries for which the chip
* select is enabled, and that don't have high base
* address bits set (devices can only access the first
* 32 bits of the memory).
*/
if (size & 1) {
if ((size & 1) && !(base & 0xF)) {
struct mbus_dram_window *w;

w = &orion_mbus_dram_info.cs[cs++];
Expand Down

0 comments on commit f7b74a2

Please sign in to comment.