summaryrefslogtreecommitdiffstats
path: root/board/pcm038
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-07-03 10:29:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-07-03 10:29:17 +0200
commit7c37b54184893d4fe4e23933e6a8deae1c9d62a2 (patch)
tree3eec729fe464d093c3e97d43992ce52d6130a4e6 /board/pcm038
parent64b73c25437132d81ca2af3d8c5f7ea19430021f (diff)
downloadbarebox-7c37b54184893d4fe4e23933e6a8deae1c9d62a2.tar.gz
barebox-7c37b54184893d4fe4e23933e6a8deae1c9d62a2.tar.xz
[pcm038] compile fixes, update defconfig
Diffstat (limited to 'board/pcm038')
-rw-r--r--board/pcm038/pcm038.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/pcm038/pcm038.c b/board/pcm038/pcm038.c
index 9df5e7564d..cb02e486cb 100644
--- a/board/pcm038/pcm038.c
+++ b/board/pcm038/pcm038.c
@@ -132,8 +132,10 @@ static int pcm038_devices_init(void)
register_device(&spi_dev);
#endif
+#ifdef CONDFIG_PARTITION
dev_add_partition(&cfi_dev, 0x00000, 0x20000, PARTITION_FIXED, "self");
dev_add_partition(&cfi_dev, 0x20000, 0x20000, PARTITION_FIXED, "env");
+#endif
dev_protect(&cfi_dev, 0x20000, 0, 1);
armlinux_set_bootparams((void *)0xa0000100);