I am trying to do console init before dram init so that I can give inputs from serial port and then initialize dram and bring up uboot. But there seems to be some linnking problem. I used serial_init and checked the makefiles. They seem to be fine. But still when I call serial_init before dram init, I get undefined reference to serial_init error. Please help