# how to change MEM\_SIZE ?

- List: linux-arm-kernel
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-arm-kernel/2010/06/8551649/t

## how to change MEM\_SIZE ?

- From: Pankaj Pandey \<hidden\>
- Date: 2010-06-28 08:11:43 
- Message: https://ratatoskr.run/linux-arm-kernel/2010/06/8551649.md

```text
Hi Chris,

 How to change MEM_SIZE without hardcoding it (atleast in setup.c). How is
this handled for other archs/boards? Conditional compilation?

The MEM_SIZE can be either programmed statically or passed from redboot as
ATAGS. Initially we were keeping it as static and the MEM_SIZE default value
of 16MB was changed to 128MB. Now we are using the ATAGS passed from Redboot
to set the MEM_SIZE(256MB).


Regards,
Pankaj Pandey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100628/0183abb9/attachment.html>
```
