Skip to content

additional uart in u-boot #10

Description

@yomee-yogurt-maker

I want to add additional uart other than console. so what configuration is needed in code .
I want to use scif0 for that i have added uclass code in board_init function but not able to get any logs on that pins.

uclass code snipet:
if (uclass_get_device_by_name(UCLASS_SERIAL, "serial@e6e60000", &dev)) {
puts("serial not found");
}
down_serial_dev = dev;
ops = serial_get_ops(down_serial_dev);
ops->setbrg(down_serial_dev, 115200);
int err;
err = ops->putc(down_serial_dev,'a');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions