diff options
author | Heiko Schocher <hs@denx.de> | 2009-02-19 17:24:01 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-19 21:19:45 +0100 |
commit | df909554e2401f307925e1bd45d576e4176d9de9 (patch) | |
tree | d9f1fd2cf14646a1fee2e40242a892b9f6ba58c8 /board/keymile/mgsuvd/mgsuvd.c | |
parent | 3511b4e208e12be85b532866f1c660aa2e021557 (diff) | |
download | u-boot-imx-df909554e2401f307925e1bd45d576e4176d9de9.zip u-boot-imx-df909554e2401f307925e1bd45d576e4176d9de9.tar.gz u-boot-imx-df909554e2401f307925e1bd45d576e4176d9de9.tar.bz2 |
8xx, mgsuvd: updates for 2009.03
- activate Rx buf len > 1 on SMC
- pram activated
- MTDPARTS_DEFAULT defined
- update the size of the flash in the DTS
before booting Linux
- MONITOR_LEN updated to 384k
- added CONFIG_HOSTNAME
- added CONFIG_ENV_BUFFER_PRINT
- Environment size reduced to 16k
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/keymile/mgsuvd/mgsuvd.c')
-rw-r--r-- | board/keymile/mgsuvd/mgsuvd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/keymile/mgsuvd/mgsuvd.c b/board/keymile/mgsuvd/mgsuvd.c index 02baf62..e7bfa31 100644 --- a/board/keymile/mgsuvd/mgsuvd.c +++ b/board/keymile/mgsuvd/mgsuvd.c @@ -168,6 +168,7 @@ void ft_blob_update (void *blob, bd_t *bd) ulong brg_data[1] = {0}; ulong memory_data[2] = {0}; ulong flash_data[4] = {0}; + ulong flash_reg[3] = {0}; memory_data[0] = cpu_to_be32 (bd->bi_memstart); memory_data[1] = cpu_to_be32 (bd->bi_memsize); @@ -179,6 +180,10 @@ void ft_blob_update (void *blob, bd_t *bd) fdt_set_node_and_value (blob, "/localbus", "ranges", flash_data, sizeof (flash_data)); + flash_reg[2] = cpu_to_be32 (bd->bi_flashsize); + fdt_set_node_and_value (blob, "/localbus/flash@0,0", "reg", flash_reg, + sizeof (flash_reg)); + /* BRG */ brg_data[0] = cpu_to_be32 (bd->bi_busfreq); fdt_set_node_and_value (blob, "/soc/cpm", "brg-frequency", brg_data, |