ddr: marvell: a38x: add 16Gbit memory devices support
commit 994509eb4fe6771d92cd06314c37895098ac48fa upstream. Signed-off-by: Moti Buskila <motib@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Signed-off-by: Marek Behún <marek.behun@nic.cz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
This commit is contained in:
parent
369e532691
commit
52dd9b96fc
|
@ -80,6 +80,8 @@
|
||||||
#define ADDR_SIZE_2GB 0x10000000
|
#define ADDR_SIZE_2GB 0x10000000
|
||||||
#define ADDR_SIZE_4GB 0x20000000
|
#define ADDR_SIZE_4GB 0x20000000
|
||||||
#define ADDR_SIZE_8GB 0x40000000
|
#define ADDR_SIZE_8GB 0x40000000
|
||||||
|
#define ADDR_SIZE_16GB 0x80000000
|
||||||
|
|
||||||
|
|
||||||
enum hws_edge_compare {
|
enum hws_edge_compare {
|
||||||
EDGE_PF,
|
EDGE_PF,
|
||||||
|
|
|
@ -248,7 +248,8 @@ static unsigned int mem_size[] = {
|
||||||
ADDR_SIZE_1GB,
|
ADDR_SIZE_1GB,
|
||||||
ADDR_SIZE_2GB,
|
ADDR_SIZE_2GB,
|
||||||
ADDR_SIZE_4GB,
|
ADDR_SIZE_4GB,
|
||||||
ADDR_SIZE_8GB
|
ADDR_SIZE_8GB,
|
||||||
|
ADDR_SIZE_16GB
|
||||||
/* TODO: add capacity up to 256GB */
|
/* TODO: add capacity up to 256GB */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue