SDRAM 32MB external Ram + 10MB internal Ram in renesas rz/a1h Custom based Board

Dear all,

i'am working on renesas RZ/A1H Board with XIP kernel base in that board i have worked with 10MB internal Ram as well as 32MB(SD-RAM)External Ram, now i want to enable both 32MB SD-RAM +8MB internal RAM and i know that 2MB is for frame buffer , i followed the above steps and made change in dts file like this

memory@0C000000 {
device_type = "memory";
reg = <0x0C000000 0x02000000 /* 32MB @ 0x0C000000 */
             0x20000000 0x0A000000>;/* 10Mbyte of Internal RAM only */

and i have re-builded it and flashed to the board, in u-boot prompt i'am using the command run xsa_boot to boot the board,after booting process is completed when i check the memory it is still showing 32MB of SD-RAM
$ free
                  total      used       free     shared buffers cached
Mem:     31956      3876     28080   32            0         24
-/+ buffers/cache: 3052 28904
Swap: 0 0 0

is there any thing that i need to change in u-boot file

/* Default addresses */
#define DTB_ADDR_FLASH "C0000" /* Location of Device Tree in QSPI Flash (SPI flash offset) */
#define DTB_ADDR_RAM "20500000" /* Internal RAM location to copy Device Tree */
#define DTB_ADDR_SDRAM "0D800000" /* External SDRAM location to copy Device Tree */
/* #define DTB_ADDR_SDRAM "0D800000" */ /* External SDRAM location to copy Device Tree */

#define MEM_ADDR_RAM "0x20000000 0x00A00000" /* System Memory for when using on-chip RAM (10MB) */
/* #define MEM_ADDR_SDRAM "0x08000000 0x02000000"*/ /* System Memory for when using external SDRAM RAM (32MB) */
#define MEM_ADDR_SDRAM "0x0C000000 0x02000000" /* System Memory for when using external SDRAM RAM (32MB) */

#define KERNEL_ADDR_FLASH "0x18200000" /* Flash location of xipImage or uImage binary */
#define UIMAGE_ADDR_SDRAM "09000000" /* Address to copy uImage to in external SDRAM */
#define UIMAGE_ADDR_SIZE "0x400000" /* Size of the uImage binary in Flash (4MB) */


/* Default kernel command line options */
setenv("cmdline_common", "console=ttySC3,115200 ignore_loglevel rw root=/dev/mmcblk0p1 earlyprintk earlycon=scif,0xE8008800");
/*setenv("cmdline_common", "console=ttySC3,115200 console=tty0 ignore_loglevel rw root=/dev/null rootflags=physaddr=0x18800000 earlyprintk earlycon=scif,0xE8008800"); */

/* Root file system choices */
setenv("fs_axfs", "rootfstype=axfs rootflags=physaddr=0x18800000");
setenv("fs_mtd", "root=/dev/mtdblock0");
setenv("fs_ext3", "root=/dev/mmcblk0p1");

/* Read DTB from Flash into either internal on-chip RAM or external SDRAM */
setenv("dtb_read_ram", "sf probe 0; sf read "DTB_ADDR_RAM" "DTB_ADDR_FLASH" 8000; fdt addr "DTB_ADDR_RAM" ; setenv addr_dtb "DTB_ADDR_RAM"");
setenv("dtb_read_sdram", "sf probe 0; sf read "DTB_ADDR_SDRAM" "DTB_ADDR_FLASH" 8000; fdt addr "DTB_ADDR_SDRAM" ; setenv addr_dtb "DTB_ADDR_SDRAM"");

/* Set the system memory address and size. This overrides the setting in Device Tree */
setenv("dtb_mem_ram", "fdt memory "MEM_ADDR_RAM""); /* Use internal RAM for system memory */
setenv("dtb_mem_sdram", "fdt memory "MEM_ADDR_SDRAM""); /* Use external SDRAM for system memory */

/* Kernel booting operations */
setenv("xImg", "qspi single; setenv cmd bootx "KERNEL_ADDR_FLASH" ${addr_dtb}; run cmd"); /* Boot a XIP Kernel */
setenv("uImg", "qspi dual; cp.b "KERNEL_ADDR_FLASH" "UIMAGE_ADDR_SDRAM" "UIMAGE_ADDR_SIZE"; bootm start "UIMAGE_ADDR_SDRAM" - "DTB_ADDR_SDRAM"; bootm loados ; bootm go"); /* Boot a uImage kernel */

/* => run xa_boot */
/* Boot XIP using internal RAM only, file system is AXFS, LCD dynamically allocated */
setenv("xa_boot", "run dtb_read_ram; run dtb_mem_ram; setenv bootargs ${cmdline_common} ${fs_axfs}; fdt chosen; run xImg");
setenv("xa1_boot", "run dtb_read_ram; run dtb_mem_ram; setenv bootargs ${cmdline_common} ${fs_ext3}; fdt chosen; run xImg");
/* => run xsa_boot */
/* Boot XIP using external 32MB SDRAM, file system is AXFS, LCD FB fixed to internal RAM */
setenv("xsa_boot", "run dtb_read_sdram; run dtb_mem_sdram; setenv bootargs ${cmdline_common} ${fs_axfs}; fdt chosen; run xImg");

setenv("bootcmd", "run xa_boot");

please suggest me what changes i have to make to get 32MB External RAM + 8MB internal Ram.


Thanks and regards
Mahesh R