Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112320
b: refs/heads/master
c: 4ba3f7c
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Oct 1, 2008
1 parent c0588d6 commit b1006c8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 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: 07a2f737ba1d73ace591dd03c512bb0dd63f6785
refs/heads/master: 4ba3f7c55938d7e51e23c1feedd035dd46716ae7
8 changes: 2 additions & 6 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ config ARCH_SHARK

config ARCH_LH7A40X
bool "Sharp LH7A40X"
select ARCH_DISCONTIGMEM_ENABLE if !LH7A40X_CONTIGMEM
select ARCH_SPARSEMEM_ENABLE if !LH7A40X_CONTIGMEM
help
Say Y here for systems based on one of the Sharp LH7A40X
System on a Chip processors. These CPUs include an ARM922T
Expand Down Expand Up @@ -842,12 +844,6 @@ config OABI_COMPAT
# Discontigmem is deprecated
config ARCH_DISCONTIGMEM_ENABLE
bool
default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
help
Say Y to support efficient handling of discontiguous physical memory,
for architectures which are either NUMA (Non-Uniform Memory Access)
or have huge holes in the physical address space for other reasons.
See <file:Documentation/vm/numa> for more.

config ARCH_SPARSEMEM_ENABLE
bool
Expand Down
13 changes: 6 additions & 7 deletions trunk/arch/arm/mach-lh7a40x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,22 @@ config LPD7A40X_CPLD_SSP
bool

config LH7A40X_CONTIGMEM
bool "Disable NUMA Support"
depends on ARCH_LH7A40X
bool "Disable NUMA/SparseMEM Support"
help
Say Y here if your bootloader sets the SROMLL bit(s) in
the SDRAM controller, organizing memory as a contiguous
array. This option will disable CONFIG_DISCONTIGMEM and
force the kernel to manage all memory in one node.
array. This option will disable sparse memory support
and force the kernel to manage all memory in one node.

Setting this option incorrectly may prevent the kernel from
booting. It is OK to leave it N.
Setting this option incorrectly may prevent the kernel
from booting. It is OK to leave it N.

For more information, consult
<file:Documentation/arm/Sharp-LH/SDRAM>.

config LH7A40X_ONE_BANK_PER_NODE
bool "Optimize NUMA Node Tables for Size"
depends on ARCH_LH7A40X && !LH7A40X_CONTIGMEM
depends on !LH7A40X_CONTIGMEM
help
Say Y here to produce compact memory node tables. By
default pairs of adjacent physical RAM banks are managed
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-lh7a40x/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,10 @@

#endif

/*
* Sparsemem version of the above
*/
#define MAX_PHYSMEM_BITS 32
#define SECTION_SIZE_BITS 24

#endif

0 comments on commit b1006c8

Please sign in to comment.