diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-08-26 11:32:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-08-26 11:40:51 +0200 |
commit | e1dfdc856d00698a5f94d6f53e7868ed74fb4a05 (patch) | |
tree | fa27315a7bba66129e1826f03f54df4af0d6338b | |
parent | f4db8cfc2a8177a458b4ec6556a4b1374fa377c4 (diff) | |
download | barebox-e1dfdc856d00698a5f94d6f53e7868ed74fb4a05.tar.gz barebox-e1dfdc856d00698a5f94d6f53e7868ed74fb4a05.tar.xz |
pcm038: disable SRAM device
We have a problem here: registering the SRAM device as DEVICE_TYPE_DRAM
works as expected, but the ARM memory tag setup code then adds an
additional node with the SRAM which is not what we want. Disable it for
now.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | board/pcm038/pcm038.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/pcm038/pcm038.c b/board/pcm038/pcm038.c index ccbb576f8c..e800a4a606 100644 --- a/board/pcm038/pcm038.c +++ b/board/pcm038/pcm038.c @@ -55,6 +55,7 @@ static struct device_d sdram_dev = { .type = DEVICE_TYPE_DRAM, }; +#if 0 static struct device_d sram_dev = { .name = "ram", .id = "sram0", @@ -64,6 +65,7 @@ static struct device_d sram_dev = { .type = DEVICE_TYPE_DRAM, }; +#endif static struct fec_platform_data fec_info = { .xcv_type = MII100, @@ -163,8 +165,9 @@ static int pcm038_devices_init(void) register_device(&cfi_dev); register_device(&nand_dev); register_device(&sdram_dev); +#if 0 register_device(&sram_dev); - +#endif PCCR0 |= PCCR0_CSPI1_EN; PCCR1 |= PCCR1_PERCLK2_EN; |