| Submitter | Valentin Longchamp |
|---|---|
| Date | April 8, 2011, 12:47 p.m. |
| Message ID | <ba20e078a0b5ac55510f321b282dbff192ffba15.1302266367.git.valentin.longchamp@keymile.com> |
| Download | mbox | patch |
| Permalink | /patch/90335/ |
| State | Superseded |
| Headers | show |
Comments
Patch
diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 72278a0..da73f66 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -100,6 +100,9 @@ int set_km_env(void) sprintf((char *)buf, "0x%x", pnvramaddr); setenv("pnvramaddr", (char *)buf); + sprintf((char *)buf, "0x%x", CONFIG_KM_PNVRAM); + setenv("pnvramsize", (char *)buf); + pram = (CONFIG_KM_RESERVED_PRAM + CONFIG_KM_PHRAM + CONFIG_KM_PNVRAM) / 0x400; sprintf((char *)buf, "0x%x", pram);