From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 7/7] PXA: Vpac270 config fixes
Date: Thu, 22 Jul 2010 17:03:25 +0200 [thread overview]
Message-ID: <1279811005-21858-7-git-send-email-marek.vasut@gmail.com> (raw)
In-Reply-To: <1279811005-21858-1-git-send-email-marek.vasut@gmail.com>
Define __io to get harddrive working.
Fix saving of environment into OneNAND.
Boot from harddrive when possible.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
include/configs/vpac270.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/include/configs/vpac270.h b/include/configs/vpac270.h
index 6d02995..a0383b2 100644
--- a/include/configs/vpac270.h
+++ b/include/configs/vpac270.h
@@ -36,7 +36,7 @@
/*
* Environment settings
*/
-#define CONFIG_ENV_SIZE 0x4000
+#define CONFIG_ENV_SIZE 0x20000
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024)
#define CONFIG_SYS_GBL_DATA_SIZE 128
@@ -49,6 +49,9 @@
"if usb reset && fatload usb 0 0xa4000000 uImage; then " \
"bootm 0xa4000000; " \
"fi; " \
+ "if ide reset && fatload ide 0 0xa4000000 uImage; then " \
+ "bootm 0xa4000000; " \
+ "fi; " \
"bootm 0x40000;"
#define CONFIG_BOOTARGS "console=tty0 console=ttyS0,115200"
#define CONFIG_TIMESTAMP
@@ -116,6 +119,7 @@
#define CONFIG_PXA_MMC
#define CONFIG_SYS_MMC_BASE 0xF0000000
#define CONFIG_CMD_FAT
+#define CONFIG_CMD_EXT2
#define CONFIG_DOS_PARTITION
#endif
@@ -228,6 +232,12 @@
#undef CONFIG_IDE_LED
#undef CONFIG_IDE_RESET
+/*
+ * HACK WARNING: __io
+ * This MUST go away once the readb/writeb and inb/outb issue is solved
+ */
+#define __io
+
#define CONFIG_SYS_IDE_MAXBUS 1
#define CONFIG_SYS_IDE_MAXDEVICE 1
--
1.7.1
next prev parent reply other threads:[~2010-07-22 15:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-22 15:03 [U-Boot] [PATCH 1/7] ARM: Define __raw_readX and __raw_writeX Marek Vasut
2010-07-22 15:03 ` [U-Boot] [PATCH 2/7] PXA: pxafb: Add ACX517AKN support Marek Vasut
2010-07-22 15:03 ` [U-Boot] [PATCH 3/7] common: Enable serial for PXA250 Marek Vasut
2010-07-22 15:03 ` [U-Boot] [PATCH 4/7] PXA: Palm Tungsten|C Support Marek Vasut
2010-08-03 21:10 ` Wolfgang Denk
2010-07-22 15:03 ` [U-Boot] [PATCH 5/7] PXA: pxafb: Add support for Sharp LQ038J7DH53 Marek Vasut
2010-07-22 15:03 ` [U-Boot] [PATCH 6/7] PXA: Add initial Palm LifeDrive support Marek Vasut
2010-08-03 21:13 ` Wolfgang Denk
2010-07-22 15:03 ` Marek Vasut [this message]
2010-08-03 21:16 ` [U-Boot] [PATCH 7/7] PXA: Vpac270 config fixes Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1279811005-21858-7-git-send-email-marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox